//
// sub_100703B40 from 0x100703b40 to 0x100703bd0 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b97940
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:59 +0000
//
__int64 __fastcall sub_100703B40(__int64 a1)
{
*(_QWORD *)(a1 - 320) = off_100B974B0;
*(_QWORD *)a1 = off_100B97940;
*(_QWORD *)(a1 + 8) = &off_100B979B0;
*(_QWORD *)(a1 + 16) = off_100B979C8;
*(_QWORD *)(a1 + 24) = off_100B979E8;
*(_QWORD *)(a1 + 32) = off_100B97A10;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1 - 320, 1);
if ( (*(_BYTE *)(a1 + 176) & 1) != 0 )
operator delete(*(void **)(a1 + 192));
sub_10047FF60(a1 + 104);
return sub_1004A9420((_QWORD *)(a1 - 320));
}