//
// sub_1004D7AD0 from 0x1004d7ad0 to 0x1004d7b9f (207 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009535b0
//
// 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
//
__int64 __fastcall sub_1004D7AD0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*a1 = off_1009515C8;
a1[40] = off_100951B98;
a1[41] = &off_100951C08;
a1[42] = off_100951C20;
a1[43] = off_100951C40;
a1[44] = off_100951C60;
a1[51] = off_100951C88;
a1[54] = off_100951D08;
a1[79] = off_100951D28;
a1[80] = &off_100951D70;
a1[81] = off_100951D88;
v2 = (cocos2d::CCObject *)a1[118];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[119];
if ( v3 )
cocos2d::CCObject::release(v3);
return SetupTriggerPopup::dSetupTriggerPopup((__int64)a1);
}