Tem nada a ver.
Decompilar é a coisa mais fácil que tem, o difícil é saber a usar a decompilação, você decompila um GameServer em menos de 10 minutos (to jogando alto ainda)...
A decompilação não gera um código perfeito para a Leitura, ele gera um pseudo da função que você decompilo, ou do gameserver todo, caso tenha decompilado ele todo.
Um exemplo de uma função decompilada,
int sub_48BFD0()
{
int v0; // eax@1
int v1; // eax@1
const CHAR *v2; // eax@3
const CHAR *v3; // eax@3
const CHAR *v4; // eax@3
const CHAR *v5; // eax@5
const CHAR *v6; // eax@7
int v7; // eax@10
int v8; // eax@13
int v9; // eax@14
int v10; // eax@17
int v11; // eax@18
int v12; // eax@19
int v13; // eax@21
int v14; // eax@24
int v15; // eax@27
int v16; // eax@27
int v17; // eax@27
const CHAR *v18; // eax@27
const CHAR *v19; // eax@27
const CHAR *v20; // eax@27
const char *v21; // eax@27
const CHAR *v22; // eax@27
const char *v23; // eax@27
const CHAR *v24; // eax@27
const char *v25; // eax@27
const CHAR *v26; // eax@27
const CHAR *v27; // eax@27
const CHAR *v28; // eax@27
const CHAR *v29; // eax@27
const char *v30; // eax@28
const char *v31; // eax@29
const CHAR *v32; // eax@30
const CHAR *v33; // eax@30
const CHAR *v34; // eax@30
const CHAR *v35; // eax@30
const CHAR *v36; // eax@30
int v37; // ST28_4@31
const char *v38; // eax@31
const CHAR *v39; // eax@32
int v40; // ST28_4@33
const char *v41; // eax@33
const CHAR *v42; // eax@34
const CHAR *v43; // eax@34
const CHAR *v44; // eax@34
const CHAR *v45; // eax@34
const char *v46; // eax@35
const CHAR *v47; // eax@36
const char *v48; // eax@37
const CHAR *v49; // eax@40
const char *v50; // eax@41
const char *v51; // eax@42
const CHAR *v52; // eax@43
int v53; // ST28_4@43
const char *v54; // eax@43
const CHAR *v55; // eax@43
const CHAR *v56; // eax@43
const CHAR *v57; // eax@43
const CHAR *v58; // eax@43
const CHAR *v59; // eax@43
const CHAR *v60; // eax@43
const CHAR *v61; // eax@43
const CHAR *v62; // eax@43
const CHAR *v63; // eax@43
const CHAR *v64; // eax@43
const CHAR *v65; // eax@43
const CHAR *v66; // eax@43
const CHAR *v67; // eax@43
const CHAR *v68; // eax@43
const CHAR *v69; // eax@43
const CHAR *v70; // eax@43
const CHAR *v71; // eax@43
const CHAR *v72; // eax@43
const CHAR *v73; // eax@43
const CHAR *v74; // eax@43
const CHAR *v75; // eax@43
const CHAR *v76; // eax@43
const CHAR *v77; // eax@43
const CHAR *v78; // eax@45
const CHAR *v79; // eax@45
const CHAR *v80; // eax@45
const CHAR *v81; // eax@45
const CHAR *v82; // eax@45
const CHAR *v83; // eax@45
const CHAR *v84; // eax@45
const CHAR *v85; // eax@45
const CHAR *v86; // eax@45
const CHAR *v87; // eax@45
const CHAR *v88; // eax@45
const CHAR *v89; // eax@45
const CHAR *v90; // eax@45
const CHAR *v91; // eax@45
const CHAR *v92; // eax@45
const CHAR *v93; // eax@45
const CHAR *v94; // eax@45
const CHAR *v95; // eax@45
const CHAR *v96; // eax@45
const CHAR *v97; // eax@45
const CHAR *v98; // eax@45
const CHAR *v99; // eax@45
const CHAR *v100; // eax@45
const CHAR *v101; // eax@45
const CHAR *v102; // eax@45
const CHAR *v103; // eax@45
const CHAR *v104; // eax@45
const CHAR *v105; // eax@45
const CHAR *v106; // eax@45
const CHAR *v107; // eax@45
const CHAR *v108; // eax@45
const CHAR *v109; // eax@45
const CHAR *v110; // eax@45
const CHAR *v111; // eax@45
const CHAR *v112; // eax@45
const CHAR *v113; // eax@45
int v114; // eax@45
int v115; // ST28_4@45
const char *v116; // eax@45
const CHAR *v117; // eax@45
const CHAR *v118; // eax@45
const CHAR *v119; // eax@45
const CHAR *v120; // eax@45
const CHAR *v121; // eax@45
const CHAR *v122; // eax@45
const CHAR *v123; // eax@45
const CHAR *v124; // eax@45
const CHAR *v125; // eax@45
int v127; // [sp+0h] [bp-360h]@27
int v128; // [sp+4h] [bp-35Ch]@27
char v129; // [sp+50h] [bp-310h]@10
int v130; // [sp+150h] [bp-210h]@27
char v131; // [sp+154h] [bp-20Ch]@10
int v132; // [sp+254h] [bp-10Ch]@1
int v133; // [sp+258h] [bp-108h]@1
__int16 v134; // [sp+25Ch] [bp-104h]@1
CHAR ReturnedString; // [sp+260h] [bp-100h]@3
v132 = (int)&unk_726F4B;
v133 = 0;
v134 = 0;
sub_402806();
v0 = sub_401A87("gate.txt");
sub_4015B4(&unk_72FA500, v0);
v1 = sub_401A87("commonserver.cfg");
if ( !sub_401307(v1) )
sub_4014DD("[commonserver.cfg] file not found");
v2 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "Language", "0", &ReturnedString, 5u, v2);
dword_70478D4 = sub_49F259((int *)&ReturnedString);
v3 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB1E0 = GetPrivateProfileIntA("GameServerInfo", "StalkProtocol", 0, v3);
v4 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "StalkProtocolId", "0", &byte_704792C, 0xAu, v4);
if ( dword_62CB1E0 )
dword_4BEAD9C("Stalk Protocol ID = '%s' ", &byte_704792C);
v5 = (const CHAR *)sub_401A87("Dec1.dat");
if ( !sub_49CDC0(&unk_62CB190, v5) )
sub_4014DD("Dec1.dat file not found");
v6 = (const CHAR *)sub_401A87("Enc2.dat");
if ( !sub_49CD80(&unk_62CB148, v6) )
sub_4014DD("Enc2.dat file not found");
sub_401A87("lang\\kor\\item(kor).txt");
sub_49D840((int)&unk_62CC708);
sub_401A87("lang\\kor\\skill(kor).txt");
sub_49D840((int)&unk_62CC608);
switch ( dword_70478D4 )
{
case 0:
sub_401A87("message_kor.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\kor\\item(kor).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\kor\\skill(kor).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\kor\\CheckSum.dat");
sub_49D840((int)&v131);
v7 = sub_401A87("lang\\kor");
sub_401BA9(v7);
sub_401A87("lang\\kor\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\kor\\Quest(Kor).txt");
sub_49D840((int)&unk_62CC308);
dword_7047938 = GetPrivateProfileIntA("GameServerInfo", "NonPK", 0, "..\\data\\Serverinfo.dat");
if ( dword_7047938 )
dword_4BEAD9C("NON-PK Server");
break;
case 1:
sub_401A87("message_eng.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\eng\\item(eng).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\eng\\skill(eng).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\eng\\CheckSum.dat");
sub_49D840((int)&v131);
v8 = sub_401A87("lang\\eng");
sub_401BA9(v8);
sub_401A87("lang\\eng\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\eng\\Quest(eng).txt");
sub_49D840((int)&unk_62CC308);
sub_49D840((int)&v132);
break;
case 2:
sub_401A87("message_jpn.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\jpn\\item(jpn).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\jpn\\skill(jpn).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\jpn\\CheckSum.dat");
sub_49D840((int)&v131);
v9 = sub_401A87("lang\\jpn");
sub_401BA9(v9);
sub_401A87("lang\\jpn\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\jpn\\Quest(jpn).txt");
sub_49D840((int)&unk_62CC308);
sub_49D840((int)&v132);
dword_7047938 = GetPrivateProfileIntA("GameServerInfo", "NonPK", 0, "..\\data\\Serverinfo.dat");
if ( dword_7047938 )
dword_4BEAD9C("NON-PK Server");
break;
case 3:
sub_401A87("message_chs.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\chs\\item(chs).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\chs\\skill(chs).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\chs\\CheckSum.dat");
sub_49D840((int)&v131);
v10 = sub_401A87("lang\\chs");
sub_401BA9(v10);
sub_401A87("lang\\chs\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\chs\\Quest(chs).txt");
sub_49D840((int)&unk_62CC308);
sub_49D840((int)&v132);
break;
case 4:
sub_401A87("message_tai.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\tai\\item(tai).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\tai\\skill(tai).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\tai\\CheckSum.dat");
sub_49D840((int)&v131);
v11 = sub_401A87("lang\\tai");
sub_401BA9(v11);
sub_401A87("lang\\tai\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\tai\\Quest(tai).txt");
sub_49D840((int)&unk_62CC308);
sub_49D840((int)&v132);
break;
case 5:
sub_401A87("message_tha.wtf");
sub_49D840((int)&v129);
sub_401A87("lang\\tha\\item(tha).txt");
sub_49D840((int)&unk_62CC508);
sub_401A87("lang\\tha\\skill(tha).txt");
sub_49D840((int)&unk_62CC408);
sub_401A87("lang\\tha\\CheckSum.dat");
sub_49D840((int)&v131);
v12 = sub_401A87("lang\\tha");
sub_401BA9(v12);
sub_401A87("lang\\tha\\commonloc.cfg");
sub_49D840((int)byte_62CC208);
sub_401A87("lang\\tha\\Quest(tha).txt");
sub_49D840((int)&unk_62CC308);
sub_49D840((int)&v132);
break;
default:
break;
}
sub_401C44(&v131);
sub_402324(&unk_72FC390);
CMsg::LoadWTF(&unk_62D7CE0, &v129);
if ( !sub_401447(&unk_62CC708) )
{
v13 = CMsg::Get(&unk_62D7CE0, 419);
sub_4014DD(v13);
}
if ( dword_70478D4 && !sub_402617(&unk_62CC508) )
{
v14 = CMsg::Get(&unk_62D7CE0, 419);
sub_4014DD(v14);
}
sub_40290F(&unk_4B9DCA8, &unk_62CC608);
if ( dword_70478D4 )
sub_402595(&unk_4B9DCA8, &unk_62CC408);
v15 = sub_401A87("ConnectMember.txt");
sub_402581(v15);
v16 = sub_401A87("DevilSquare.dat");
sub_4023F6(v16);
v17 = sub_401A87("BloodCastle.dat");
sub_4015A0(&unk_72FB200, v17);
sub_402333(&unk_62CC308);
GetPrivateProfileStringA("GameServerInfo", "ClientExeVersion", &Default, &ReturnedString, 8u, byte_62CC208);
v130 = sub_49F430((int)&ReturnedString, (int)".");
byte_5135EC = *(_BYTE *)v130;
v130 = sub_49F430(0, (int)".");
byte_5135ED = *(_BYTE *)v130;
byte_5135EE = *(_BYTE *)(v130 + 1);
v130 = sub_49F430(0, (int)".");
byte_5135EF = *(_BYTE *)v130;
byte_5135F0 = *(_BYTE *)(v130 + 1);
sub_49D590(byte_62CC83C, 0, 0x14u);
GetPrivateProfileStringA("GameServerInfo", "ClientExeSerial", "1", byte_62CC83C, 0x14u, byte_62CC208);
v18 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "CreateCharacter", "1", &ReturnedString, 5u, v18);
dword_513660 = sub_49F259((int *)&ReturnedString);
v19 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "CharacterDeleteMinLevel", "40", &ReturnedString, 5u, v19);
dword_51365C = sub_49F259((int *)&ReturnedString);
v20 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "GuildCreate", "1", &ReturnedString, 5u, v20);
dword_513664 = sub_49F259((int *)&ReturnedString);
v21 = (const char *)CMsg::Get(&unk_62D7CE0, 569);
dword_4BEAD9C(v21);
v22 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "GuildDestroy", "1", &ReturnedString, 5u, v22);
dword_513668 = sub_49F259((int *)&ReturnedString);
v128 = dword_513668;
v23 = (const char *)CMsg::Get(&unk_62D7CE0, 570);
dword_4BEAD9C(v23);
v24 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "GuildCreateLevel", "100", &ReturnedString, 5u, v24);
dword_51366C = sub_49F259((int *)&ReturnedString);
v127 = dword_51366C;
v25 = (const char *)CMsg::Get(&unk_62D7CE0, 571);
dword_4BEAD9C(v25);
v26 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "SpeedHackPlayerBlock", "0", &ReturnedString, 5u, v26);
dword_70478A8 = sub_49F259((int *)&ReturnedString);
v27 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "ItemSerialCheck", "1", &ReturnedString, 5u, v27);
dword_513670 = sub_49F259((int *)&ReturnedString);
v28 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "AddExperience", "1", &ReturnedString, 5u, v28);
flt_513674 = sub_49DBD8((int *)&ReturnedString);
v29 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "Trade", "1", &ReturnedString, 5u, v29);
dword_5135F4 = sub_49F259((int *)&ReturnedString);
if ( dword_5135F4 )
{
v30 = (const char *)CMsg::Get(&unk_62D7CE0, 407);
dword_4BEAD94(v30);
}
else
{
v31 = (const char *)CMsg::Get(&unk_62D7CE0, 408);
dword_4BEAD94(v31);
}
v32 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5135F8 = GetPrivateProfileIntA("GameServerInfo", "ChaosBox", 0, v32);
v33 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_70478D8 = GetPrivateProfileIntA("GameServerInfo", "ChaosEvent", 0, v33);
v34 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "ChaosEventServer", "210.181.89.241", byte_70478DC, 0x14u, v34);
v35 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB1DC = GetPrivateProfileIntA("GameServerInfo", "AttackEventRegenTime", 10, v35);
dword_4BEAD9C("[Option] ChaosBox = %d", dword_5135F8);
dword_4BEAD9C("[Option] ChaosEvent = %d", dword_70478D8);
dword_4BEAD9C("[Option] ChaosEventServer = %s", byte_70478DC);
dword_4BEAD9C("[Option] AttackEventRegenTime = %d", dword_62CB1DC);
v36 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "PKTIME", "1", &ReturnedString, 5u, v36);
dword_62CB1E8 = sub_49F259((int *)&ReturnedString);
if ( dword_62CB1E8 )
{
v37 = dword_62CB1E8;
v38 = (const char *)CMsg::Get(&unk_62D7CE0, 409);
dword_4BEAD94(v38, v37);
}
v39 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "MonsterHp", "0", &ReturnedString, 5u, v39);
dword_70478C4 = sub_49F259((int *)&ReturnedString);
if ( dword_70478C4 )
{
v40 = dword_70478C4;
v41 = (const char *)CMsg::Get(&unk_62D7CE0, 410);
dword_4BEAD94(v41, v40);
}
v42 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "EVENT1", "0", &ReturnedString, 5u, v42);
dword_70478C0 = sub_49F259((int *)&ReturnedString);
v43 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "Event1ItemDropTodayMax", "1", &ReturnedString, 5u, v43);
dword_70478D0 = 0;
dword_513654 = sub_49F259((int *)&ReturnedString);
v44 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "Event1ItemDropTodayPercent", "10000000", &ReturnedString, 5u, v44);
off_513658 = (void *)sub_49F259((int *)&ReturnedString);
v45 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "MerryXMasTalkNpc", "0", &ReturnedString, 5u, v45);
dword_70478C8 = sub_49F259((int *)&ReturnedString);
if ( dword_70478C8 )
{
v46 = (const char *)CMsg::Get(&unk_62D7CE0, 572);
dword_4BEAD94(v46);
}
v47 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "HappyNewYearTalkNpc", "0", &ReturnedString, 5u, v47);
dword_70478CC = sub_49F259((int *)&ReturnedString);
if ( dword_70478CC )
{
v48 = (const char *)CMsg::Get(&unk_62D7CE0, 573);
dword_4BEAD94(v48);
}
GetPrivateProfileStringA("GameServerInfo", "LootingTime", "3", &ReturnedString, 5u, byte_62CC208);
dword_513648 = sub_49F259((int *)&ReturnedString);
if ( dword_513648 )
dword_4BEAD94("[Option] Auto Looting Time Set : %d", dword_513648);
v49 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "PKItemDrop", "1", &ReturnedString, 5u, v49);
dword_51364C = sub_49F259((int *)&ReturnedString);
if ( dword_51364C )
{
v50 = (const char *)CMsg::Get(&unk_62D7CE0, 411);
dword_4BEAD94(v50);
}
else
{
v51 = (const char *)CMsg::Get(&unk_62D7CE0, 412);
dword_4BEAD94(v51);
}
v52 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "ItemDropPer", "10", &ReturnedString, 5u, v52);
dword_513650 = sub_49F259((int *)&ReturnedString);
v53 = dword_513650;
v54 = (const char *)CMsg::Get(&unk_62D7CE0, 413);
dword_4BEAD94(v54, v53);
v55 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_704793C = GetPrivateProfileIntA("GameServerInfo", "XMasEvent", 0, v55);
v56 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513678 = GetPrivateProfileIntA("GameServerInfo", "XMasEvent_StarOfXMasDropRate", 5000, v56);
v57 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_51367C = GetPrivateProfileIntA("GameServerInfo", "XMasEvent_ItemDropRateForStarOfXMas", 2, v57);
v58 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047940 = GetPrivateProfileIntA("GameServerInfo", "FireCrackerEvent", 0, v58);
v59 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513680 = GetPrivateProfileIntA("GameServerInfo", "FireCrackerDropRate", 5000, v59);
v60 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513684 = GetPrivateProfileIntA("GameServerInfo", "ItemDropRateForFireCracker", 2, v60);
v61 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB1D4 = GetPrivateProfileIntA("GameServerInfo", "OnlyFireCrackerEffectUse", 0, v61);
v62 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047944 = GetPrivateProfileIntA("GameServerInfo", "HeartOfLoveEvent", 0, v62);
v63 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513688 = GetPrivateProfileIntA("GameServerInfo", "HeartOfLoveDropRate", 5000, v63);
v64 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_51368C = GetPrivateProfileIntA("GameServerInfo", "ItemDropRateForHeartOfLove", 2, v64);
v65 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047950 = GetPrivateProfileIntA("GameServerInfo", "DevilSquareEvent", 0, v65);
v66 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136AC = GetPrivateProfileIntA("GameServerInfo", "EyesOfDevilSquareDropRate", 2, v66);
v67 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136B0 = GetPrivateProfileIntA("GameServerInfo", "KeyOfDevilSquareDropRate", 2, v67);
v68 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513700 = GetPrivateProfileIntA("GameServerInfo", "ZenDurationTime", 30, v68);
v69 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047948 = GetPrivateProfileIntA("GameServerInfo", "MedalEvent", 0, v69);
v70 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513690 = GetPrivateProfileIntA("GameServerInfo", "GoldMedalDropRate", 2, v70);
v71 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513694 = GetPrivateProfileIntA("GameServerInfo", "SilverMedalDropRate", 2, v71);
v72 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513698 = GetPrivateProfileIntA("GameServerInfo", "ItemDropRateForGoldMedal", 2, v72);
v73 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_51369C = GetPrivateProfileIntA("GameServerInfo", "ItemDropRateForSilverMedal", 2, v73);
v74 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_704794C = GetPrivateProfileIntA("GameServerInfo", "EventChipEvent", 0, v74);
v75 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136A0 = GetPrivateProfileIntA("GameServerInfo", "BoxOfGoldDropRate", 2, v75);
v76 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136A4 = GetPrivateProfileIntA("GameServerInfo", "ItemDropRateForBoxOfGold", 2, v76);
v77 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136A8 = GetPrivateProfileIntA("GameServerInfo", "EventChipDropRateForBoxOfGold", 2, v77);
if ( !dword_7047950 )
sub_401370(&unk_4B9C800);
v78 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136D8 = GetPrivateProfileIntA("GameServerInfo", "AttackSpeedTimeLimit", 800, v78);
v79 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_704795C = GetPrivateProfileIntA("GameServerInfo", "IsIgnorePacketHackDetect", 0, v79);
v80 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136DC = GetPrivateProfileIntA("GameServerInfo", "HackCheckCount", 5, v80);
v81 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136E4 = GetPrivateProfileIntA("GameServerInfo", "MinimumAttackSpeedTime", 200, v81);
v82 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136E8 = GetPrivateProfileIntA("GameServerInfo", "DetectedHackKickCount", 10, v82);
v83 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047960 = GetPrivateProfileIntA("GameServerInfo", "IsKickDetecHackCountLimit", 0, v83);
v84 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047964 = GetPrivateProfileIntA("GameServerInfo", "IsEledoradoEvent", 0, v84);
v85 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136EC = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldGoblenRegenTime", 180, v85);
v86 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136F0 = GetPrivateProfileIntA("GameServerInfo", "EledoradoTitanRegenTime", 180, v86);
v87 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136F4 = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldDerconRegenTime", 720, v87);
v88 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136F8 = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilLizardKingRegenTime", 360, v88);
v89 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136FC = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilTantarosRegenTime", 360, v89);
v90 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB144 = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldGoblenItemDropRate", 10, v90);
v91 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB140 = GetPrivateProfileIntA("GameServerInfo", "EledoradoTitanItemDropRate", 10, v91);
v92 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB13C = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldDerconItemDropRate", 10, v92);
v93 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB138 = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilLizardKingItemDropRate", 10, v93);
v94 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB134 = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilTantarosItemDropRate", 10, v94);
v95 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB130 = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldGoblenExItemDropRate", 10, v95);
v96 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB12C = GetPrivateProfileIntA("GameServerInfo", "EledoradoTitanExItemDropRate", 10, v96);
v97 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB128 = GetPrivateProfileIntA("GameServerInfo", "EledoradoGoldDerconExItemDropRate", 10, v97);
v98 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB124 = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilLizardKingExItemDropRate", 10, v98);
v99 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_62CB120 = GetPrivateProfileIntA("GameServerInfo", "EledoradoDevilTantarosExItemDropRate", 10, v99);
v100 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047968 = GetPrivateProfileIntA("GameServerInfo", "WriteChatLog", 0, v100);
v101 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_704796C = GetPrivateProfileIntA("GameServerInfo", "DisconnectHackUser", 0, v101);
v102 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "DecTimePerAttackSpeed", "5.33", &ReturnedString, 5u, v102);
flt_5136E0 = sub_49DBD8((int *)&ReturnedString);
v103 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_70478B4 = GetPrivateProfileIntA("GameServerInfo", "SpeedHackPenalty", 0, v103);
v104 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136B4 = GetPrivateProfileIntA("GameServerInfo", "DQChaosSuccessRateLevel1", 80, v104);
v105 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136B8 = GetPrivateProfileIntA("GameServerInfo", "DQChaosSuccessRateLevel2", 75, v105);
v106 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136BC = GetPrivateProfileIntA("GameServerInfo", "DQChaosSuccessRateLevel3", 70, v106);
v107 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136C0 = GetPrivateProfileIntA("GameServerInfo", "DQChaosSuccessRateLevel4", 60, v107);
v108 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136C4 = GetPrivateProfileIntA("GameServerInfo", "BloodCastleEvent", 0, v108);
v109 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136C8 = GetPrivateProfileIntA("GameServerInfo", "BloodCastleStartHour", 1, v109);
v110 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136D0 = GetPrivateProfileIntA("GameServerInfo", "AngelKingsPaperDropRate", 0, v110);
v111 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136D4 = GetPrivateProfileIntA("GameServerInfo", "BloodBoneDropRate", 0, v111);
v112 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_5136CC = GetPrivateProfileIntA("GameServerInfo", "StoneDropRate", 0, v112);
v113 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047954 = GetPrivateProfileIntA("GameServerInfo", "WriteSkillLog", 0, v113);
GetPrivateProfileStringA("ConnectServerInfo", "IP", &Default, cp, 0x14u, byte_62CC208);
GetPrivateProfileStringA("ConnectServerInfo", "PORT", &Default, &ReturnedString, 0xAu, byte_62CC208);
v114 = sub_49F259((int *)&ReturnedString);
*(_DWORD *)&dword_62CB1F0 = v114;
v115 = v114;
v116 = (const char *)CMsg::Get(&unk_62D7CE0, 414);
dword_4BEAD94(v116, v115, v127);
sub_401226(cp, dword_62CB1F0);
sub_401226(byte_70478DC, 0xEA65u);
v117 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_704786C = GetPrivateProfileIntA("GameServerInfo", "DevilSquareEventConnect", 1, v117);
v118 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "DevilSquareEventServer", "210.181.89.241", byte_70478F0, 0x14u, v118);
v119 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_7047874 = GetPrivateProfileIntA("GameServerInfo", "EventChipServerConnect", 0, v119);
v120 = (const CHAR *)sub_401A87("commonserver.cfg");
GetPrivateProfileStringA("GameServerInfo", "EventChipServerIp", "192.168.10.150", byte_7047918, 0x14u, v120);
v121 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_70478B0 = GetPrivateProfileIntA("GameServerInfo", "ApplyHeroSystem", 0, v121);
v122 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_513644 = GetPrivateProfileIntA("GameServerInfo", "EnableBattleSoccer", 1, v122);
v123 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_70478B8 = GetPrivateProfileIntA("GameServerInfo", "EnableEventNPCTalk", 0, v123);
v124 = (const CHAR *)sub_401A87("commonserver.cfg");
dword_70478BC = GetPrivateProfileIntA("GameServerInfo", "EnableServerDivision", 0, v124);
sub_4018FC(&unk_62CAC30);
v125 = (const CHAR *)CMsg::Get(&unk_62D7CE0, 416);
wsprintfA(&ReturnedString, v125);
dword_4BEAD9C("User Object Size = %d", 3336);
SetWindowTextA(hWndParent, &ReturnedString);
sub_401438(&v132, v128);
sub_4010BE(dword_7047964);
sub_4017CB(&unk_4B9DBC0);
return sub_4011BD(&unk_4B08CD8);
}
Por exemplo essa função escreve os valores do CommonServer.cfg e de alguns arquivos da pasta Data, isso foi tirado da decompilação, é um pseudo.