//
// sub_100979500 from 0x100979500 to 0x1009795ee (238 bytes)
//
// 4 xrefs:
// > sub_100979600 @ 0x100979605
// > sub_100979610 @ 0x10097961c
// > sub_100979630 @ 0x100979639
// > sub_100979650 @ 0x100979663
//
// 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:38:56 +0000
//
__int64 __fastcall sub_100979500(_QWORD *a1)
{
_DWORD *v2; // rdi
void *v3; // rdi
void *v4; // rdi
*a1 = off_100BD11A8;
a1[40] = off_100BD1798;
a1[41] = &off_100BD1808;
a1[42] = off_100BD1820;
a1[43] = off_100BD1840;
a1[44] = off_100BD1868;
a1[51] = off_100BD1898;
a1[54] = off_100BD1918;
a1[68] = off_100BD1938;
a1[83] = &off_100BD1980;
a1[84] = off_100BD1998;
v2 = (_DWORD *)a1[160];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (void *)a1[157];
if ( v3 )
{
a1[158] = v3;
operator delete(v3);
}
v4 = (void *)a1[153];
if ( v4 )
{
a1[154] = v4;
operator delete(v4);
}
return SetupTriggerPopup::dSetupTriggerPopup((__int64)a1);
}