//
// sub_1004E8CA0 from 0x1004e8ca0 to 0x1004e8d4b (171 bytes)
//
// 1 xrefs:
// > ??> @ 0x100957578
//
// 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_1004E8CA0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
*(a1 - 40) = off_100957050;
*a1 = off_100957578;
a1[1] = &off_1009575E8;
a1[2] = off_100957600;
a1[3] = off_100957620;
a1[4] = off_100957640;
a1[11] = off_100957668;
a1[14] = off_1009576E8;
v2 = (cocos2d::CCObject *)a1[39];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[40];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (cocos2d::CCObject *)a1[44];
if ( v4 )
cocos2d::CCObject::release(v4);
return FLAlertLayer::dFLAlertLayer((__int64)(a1 - 40));
}