//
// sub_100084A78 from 0x100084a78 to 0x100084afc (132 bytes)
//
// 4 xrefs:
// > sub_100084B00 @ 0x100084b00
// > sub_100084B04 @ 0x100084b08
// > sub_100084B0C @ 0x100084b14
// > sub_100084B20 @ 0x100084b2c
//
// 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_100084A78(__int64 a1)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
*(_QWORD *)a1 = off_10077DC18;
*(_QWORD *)(a1 + 320) = off_10077E158;
*(_QWORD *)(a1 + 328) = &off_10077E1C8;
*(_QWORD *)(a1 + 336) = off_10077E1E0;
*(_QWORD *)(a1 + 344) = off_10077E200;
*(_QWORD *)(a1 + 352) = off_10077E220;
*(_QWORD *)(a1 + 408) = off_10077E248;
*(_QWORD *)(a1 + 432) = off_10077E2C8;
*(_QWORD *)(a1 + 632) = off_10077E2E8;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
v2 = *(cocos2d::CCObject **)(a1 + 640);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 648);
if ( v3 )
cocos2d::CCObject::release(v3);
return FLAlertLayer::dFLAlertLayer(a1);
}