int __fastcall quest affect_remove_all_co llect int a1 int v1 eax int

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
int __fastcall quest::affect_remove_all_collect(int a1)
{
int v1; // eax@2
int result; // eax@4
int v3; // [sp+24h] [bp-4h]@1
v3 = *(_DWORD *)_stack_chk_guard__FBSD_1_0;
if ( !singleton<quest::CQuestManager>::ms_singleton )
__assert("instance", "../../common/singleton.h", 26);
v1 = *(_DWORD *)(singleton<quest::CQuestManager>::ms_singleton + 220);
if ( v1 )
CHARACTER::RemoveAffect(v1, 515);
result = 0;
if ( *(_DWORD *)_stack_chk_guard__FBSD_1_0 != v3 )
__stack_chk_fail(a1, *(_DWORD *)_stack_chk_guard__FBSD_1_0 ^ v3);
return result;
}