//
// sub_100353730 from 0x100353730 to 0x100353774 (68 bytes)
//
// 5 xrefs:
// > cocos2d::CCNode::insertChild @ 0x10023b93c
// > sub_10024A210 @ 0x10024a244
// > sub_10024A258 @ 0x10024a288
// > sub_10024A2D0 @ 0x10024a2d4
// > sub_10024A560 @ 0x10024a5d8
//
// 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
//
void __fastcall sub_100353730(unsigned int *a1, cocos2d::CCObject *a2)
{
__int64 v4; // x9
sub_1003535BC(a1, 1);
cocos2d::CCObject::retain(a2);
v4 = *a1;
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v4) = a2;
*a1 = v4 + 1;
}