//
// sub_1004E7940 from 0x1004e7940 to 0x1004e79ed (173 bytes)
//
// 1 xrefs:
// > ??> @ 0x100956e68
//
// 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_1004E7940(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
_QWORD *v3; // rbx
*(a1 - 40) = off_100956920;
*a1 = off_100956E60;
a1[1] = &off_100956ED0;
a1[2] = off_100956EE8;
a1[3] = off_100956F08;
a1[4] = off_100956F28;
a1[11] = off_100956F50;
a1[14] = off_100956FD0;
a1[39] = off_100956FF0;
a1[40] = &off_100957038;
v2 = (cocos2d::CCObject *)a1[41];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1 - 40;
FLAlertLayer::dFLAlertLayer((__int64)v3);
operator delete(v3);
}