//
// sub_100356AD0 from 0x100356ad0 to 0x100356b6b (155 bytes)
//
// 1 xrefs:
// > ??> @ 0x100917088
//
// 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_100356AD0(cocos2d::CCNode *a1)
{
__int64 v2; // rbx
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
v2 = (__int64)&a1[-1];
a1[-1].__vftable = (cocos2d::CCNode_vtbl *)off_100916B20;
a1->__vftable = (cocos2d::CCNode_vtbl *)off_100917088;
*(_QWORD *)&a1->m_uID = &off_1009170F8;
*(_QWORD *)&a1->m_nTag = off_100917110;
*(_QWORD *)&a1->m_uAutoReleaseCount = off_100917130;
*(_QWORD *)&a1->m_uIndexInArray = off_100917150;
*(_QWORD *)&a1->m_fSkewY = off_100917178;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1 - 1, 1);
v3 = *(cocos2d::CCObject **)&a1->m_sTransform.ty;
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(cocos2d::CCObject **)&a1->m_sInverse.b;
if ( v4 )
cocos2d::CCObject::release(v4);
return cocos2d::extension::CCControl::dCCControl(v2);
}