//
// sub_100578000 from 0x100578000 to 0x1005780dd (221 bytes)
//
// 1 xrefs:
// > ??> @ 0x100965e00
//
// 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_100578000(__int64 a1)
{
*(_QWORD *)a1 = off_100965DF8;
*(_QWORD *)(a1 + 320) = off_1009663C8;
*(_QWORD *)(a1 + 328) = &off_100966438;
*(_QWORD *)(a1 + 336) = off_100966450;
*(_QWORD *)(a1 + 344) = off_100966470;
*(_QWORD *)(a1 + 352) = off_100966490;
*(_QWORD *)(a1 + 408) = off_1009664B8;
*(_QWORD *)(a1 + 432) = off_100966538;
*(_QWORD *)(a1 + 632) = off_100966558;
*(_QWORD *)(a1 + 640) = &off_1009665A0;
*(_QWORD *)(a1 + 648) = off_1009665B8;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
sub_100054D90(a1 + 992, *(_QWORD **)(a1 + 1000));
sub_10008FD20(a1 + 968, *(_QWORD **)(a1 + 976));
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}