//
// sub_1002AE870 from 0x1002ae870 to 0x1002ae920 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbfe8
//
// 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_1002AE870(__int64 a1)
{
*(_QWORD *)a1 = off_1008FBFE0;
*(_QWORD *)(a1 + 320) = off_1008FC510;
*(_QWORD *)(a1 + 328) = &off_1008FC580;
*(_QWORD *)(a1 + 336) = off_1008FC598;
*(_QWORD *)(a1 + 344) = off_1008FC5B8;
*(_QWORD *)(a1 + 352) = off_1008FC5D8;
*(_QWORD *)(a1 + 408) = off_1008FC600;
*(_QWORD *)(a1 + 432) = off_1008FC680;
*(_QWORD *)(a1 + 632) = off_1008FC6A0;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
if ( (*(_BYTE *)(a1 + 656) & 1) != 0 )
operator delete(*(void **)(a1 + 672));
return FLAlertLayer::dFLAlertLayer(a1);
}