//
// sub_1002AEAA0 from 0x1002aeaa0 to 0x1002aeb50 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc518
//
// 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_1002AEAA0(__int64 a1)
{
void *v1; // rbx
v1 = (void *)(a1 - 320);
*(_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));
FLAlertLayer::dFLAlertLayer(v1);
operator delete(v1);
}