//
// sub_1004D93B0 from 0x1004d93b0 to 0x1004d9474 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009543b8
//
// 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_1004D93B0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*(a1 - 40) = off_1009515C8;
*a1 = off_100951B98;
a1[1] = &off_100951C08;
a1[2] = off_100951C20;
a1[3] = off_100951C40;
a1[4] = off_100951C60;
a1[11] = off_100951C88;
a1[14] = off_100951D08;
a1[39] = off_100951D28;
a1[40] = &off_100951D70;
a1[41] = off_100951D88;
v2 = (cocos2d::CCObject *)a1[78];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[79];
if ( v3 )
cocos2d::CCObject::release(v3);
return SetupTriggerPopup::dSetupTriggerPopup((__int64)(a1 - 40));
}