//
// sub_100351700 from 0x100351700 to 0x10035178c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b23690
//
// 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:28:49 +0000
//
__int64 __fastcall sub_100351700(__int64 a1)
{
*(_QWORD *)(a1 - 320) = off_100B23118;
*(_QWORD *)a1 = off_100B23690;
*(_QWORD *)(a1 + 8) = &off_100B23700;
*(_QWORD *)(a1 + 16) = off_100B23718;
*(_QWORD *)(a1 + 24) = off_100B23738;
*(_QWORD *)(a1 + 32) = off_100B23760;
*(_QWORD *)(a1 + 88) = off_100B23790;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1 - 320, 1);
*(_OWORD *)(a1 + 176) = 0;
*(_OWORD *)(a1 + 160) = 0;
return sub_10033CCD0(a1 - 320);
}