//
// DeathStatsPopup::onClose from 0x1008c9f40 to 0x1008c9fc5 (133 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb0a20
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:37:34 +0000
//
__int64 __fastcall DeathStatsPopup::onClose(_QWORD *a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // r14
cocos2d::CCNode::unschedule((__int64)a1, (__int64)sub_1008C97C0, 0);
v2 = (_QWORD *)a1[128];
v3 = (_QWORD *)a1[129];
if ( v2 )
{
v2[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1160LL))(v2, 0);
}
if ( v3 )
{
v3[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1160LL))(v3, 0);
}
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);
}