//
// sub_100042EB8 from 0x100042eb8 to 0x100042f3c (132 bytes)
//
// 4 xrefs:
// > SetupObjectOptionsPopup::dSetupObjectOptionsPopup @ 0x100042f40
// > sub_100042F44 @ 0x100042f48
// > sub_100042F4C @ 0x100042f54
// > sub_100042F60 @ 0x100042f6c
//
// This function is hookable on this platform (idp: arm, 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 10:57:37 +0000
//
__int64 __fastcall sub_100042EB8(_QWORD *a1)
{
__int64 v2; // x0
__int64 v3; // x0
*a1 = off_1008B9A00;
a1[40] = off_1008B9F68;
a1[41] = &off_1008B9FD8;
a1[42] = off_1008B9FF0;
a1[43] = off_1008BA010;
a1[44] = off_1008BA038;
a1[51] = off_1008BA068;
a1[54] = off_1008BA0E8;
a1[68] = off_1008BA108;
cocos2d::CCNode::removeAllChildrenWithCleanup();
v2 = a1[83];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[84];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_10034A834(a1);
}