//
// sub_1004D31F0 from 0x1004d31f0 to 0x1004d32bc (204 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5eed0
//
// 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:31:12 +0000
//
void __fastcall sub_1004D31F0(_QWORD *a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
_QWORD *v4; // rbx
*(a1 - 40) = off_100B5C830;
*a1 = off_100B5CE20;
a1[1] = &off_100B5CE90;
a1[2] = off_100B5CEA8;
a1[3] = off_100B5CEC8;
a1[4] = off_100B5CEF0;
a1[11] = off_100B5CF20;
a1[14] = off_100B5CFA0;
a1[28] = off_100B5CFC0;
a1[43] = &off_100B5D008;
a1[44] = off_100B5D020;
v2 = (_DWORD *)a1[87];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[88];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = a1 - 40;
SetupTriggerPopup::dSetupTriggerPopup((__int64)v4);
operator delete(v4);
}