//
// sub_1004A8AA0 from 0x1004a8aa0 to 0x1004a8b6c (204 bytes)
//
// 1 xrefs:
// > ??> @ 0x100947140
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1004A8AA0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
_QWORD *v4; // rbx
*(a1 - 40) = off_100946B68;
*a1 = off_100947138;
a1[1] = &off_1009471A8;
a1[2] = off_1009471C0;
a1[3] = off_1009471E0;
a1[4] = off_100947200;
a1[11] = off_100947228;
a1[14] = off_1009472A8;
a1[39] = off_1009472C8;
a1[40] = &off_100947310;
a1[41] = off_100947328;
v2 = (cocos2d::CCObject *)a1[78];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[79];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = a1 - 40;
SetupTriggerPopup::dSetupTriggerPopup((__int64)v4);
operator delete(v4);
}