//
// sub_100216868 from 0x100216868 to 0x1002168d0 (104 bytes)
//
// 2 xrefs:
// > sub_1002168D4 @ 0x1002168d4
// > sub_1002168D8 @ 0x1002168e0
//
// 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_100216868(_QWORD *a1)
{
cocos2d::CCObject *v2; // x0
__int64 v3; // x0
cocos2d::CCObject *v4; // x0
*a1 = off_1007C33B8;
v2 = (cocos2d::CCObject *)a1[41];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[42];
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 720LL))(v3);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[42] + 520LL))(a1[42]);
v4 = (cocos2d::CCObject *)a1[42];
if ( v4 )
cocos2d::CCObject::release(v4);
}
return cocos2d::CCNode::dCCNode(a1);
}