btw - there is no such thing as AllyWar in C4 anymore =)
but it is good feature untill you have no Olympiad and Battle Tournament
so place to hex is in CacheD -
.text:0040906D xor ebx, ebx ; EBX=00000000
.text:004091B1 loc_4091B1: ; CODE XREF: sub_409020+18Dj
.text:004091B1 mov edx, [esp+528h+TargetValue]
.text:004091B5 push 0FFFFFFFFh
.text:004091B7 push ebx
.text:004091B8 push esi
.text:004091B9 push edx
.text:004091BA mov ecx, offset unk_4F2794
.text:004091BF mov byte ptr [esp+538h+var_4], 3
.text:004091C7 call Insert
.text:004091CC mov eax, [esi]
.text:004091CE push ebx
.text:004091CF push 1
.text:004091D1 push 6Dh ; 'm'
.text:004091D3 push offset aAlliancewar_cp ; "AllianceWar.cpp"
.text:004091D8 mov ecx, esi
.text:004091DA call dword ptr [eax]
.text:004091DC push 1
.text:004091DE push ebx ; nUserDBID=00000000 ??????
.text:004091DF lea ecx, [esp+540h+var_518]
.text:004091E3 push ecx
.text:004091E4 mov ecx, offset unk_21EEF90
.text:004091E9 call CUserDb__GetUser
.text:004091EE mov ecx, [esp+538h+var_518]
.text:004091F2 cmp ecx, ebx
.text:004091F4 jz short loc_40920B
.text:004091F6 mov eax, [esp+538h+var_514]
.text:004091FA mov edx, [ecx]
.text:004091FC push ebx
.text:004091FD push eax
.text:004091FE push 77h ; 'w'
.text:00409200 push offset aCServerservi_0 ; "c:\\serverservice\\cached\\ThreadSafeLibra".. .
.text:00409205 call dword ptr [edx]
.text:00409207 mov [esp+548h+var_528], ebx
|