// // cocos2d::CCNode::insertChild from 0x5bdeb6 to 0x5bdee6 (48 bytes) // // 1 xrefs: // > cocos2d::CCNode::addChild @ 0x5bdf04 // // 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 cocos2d::CCNode::insertChild(cocos2d::CCNode *a1, int a2) { int v2; // r2 int v3; // r5 _BOOL4 m_bUseChildIndex; // r2 cocos2d *data; // r0 v3 = v2; a1->m_bReorderChildDirty = 1; m_bUseChildIndex = a1->m_bUseChildIndex; data = (cocos2d *)a1->m_pChildren->data; if ( m_bUseChildIndex ) cocos2d::ccArrayAppendObjectWithResizeChild(data, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)m_bUseChildIndex); else cocos2d::ccArrayAppendObjectWithResize(data, (cocos2d::_ccArray *)a2, nullptr); (*(void (__fastcall **)(int, int))(*(_DWORD *)a2 + 48))(a2, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source