//
// sub_1002858B0 from 0x1002858b0 to 0x10028596d (189 bytes)
//
// 0 xrefs:
//
// 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_1002858B0(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*(_QWORD *)a1 = off_1008F2E38;
*(_QWORD *)(a1 + 320) = off_1008F3378;
*(_QWORD *)(a1 + 328) = &off_1008F33E8;
*(_QWORD *)(a1 + 336) = off_1008F3400;
*(_QWORD *)(a1 + 344) = off_1008F3420;
*(_QWORD *)(a1 + 352) = off_1008F3440;
*(_QWORD *)(a1 + 408) = off_1008F3468;
*(_QWORD *)(a1 + 432) = off_1008F34E8;
*(_QWORD *)(a1 + 632) = off_1008F3508;
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);
}