//
// sub_100351840 from 0x100351840 to 0x1003518d4 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b23698
//
// 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
//
void __fastcall sub_100351840(__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;
sub_10033CCD0(a1 - 320);
operator delete((void *)(a1 - 320));
}