//
// sub_1002AE930 from 0x1002ae930 to 0x1002ae9d8 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc510
//
// 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_1002AE930(__int64 a1)
{
*(_QWORD *)(a1 - 320) = off_1008FBFE0;
*(_QWORD *)a1 = off_1008FC510;
*(_QWORD *)(a1 + 8) = &off_1008FC580;
*(_QWORD *)(a1 + 16) = off_1008FC598;
*(_QWORD *)(a1 + 24) = off_1008FC5B8;
*(_QWORD *)(a1 + 32) = off_1008FC5D8;
*(_QWORD *)(a1 + 88) = off_1008FC600;
*(_QWORD *)(a1 + 112) = off_1008FC680;
*(_QWORD *)(a1 + 312) = off_1008FC6A0;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)(a1 - 320), 1);
if ( (*(_BYTE *)(a1 + 336) & 1) != 0 )
operator delete(*(void **)(a1 + 352));
return FLAlertLayer::dFLAlertLayer(a1 - 320);
}