// // cocos2d::CCNode::detachChild from 0x5bde4e to 0x5bdeaa (92 bytes) // // 1 xrefs: // > cocos2d::CCNode::removeChild @ 0x5bdeb0 // // 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::detachChild(cocos2d::CCNode *a1, bool a2) { int v2; // r2 cocos2d::CCObject *v4; // r4 int v5; // r6 cocos2d::CCArray *m_pChildren; // r0 v4 = (cocos2d::CCObject *)a2; v5 = v2; if ( a1->m_bRunning ) { (*(void (__fastcall **)(bool))(*(_DWORD *)a2 + 356))(a2); v4->__vftable[8].getTag(v4); } if ( v5 ) ((void (__fastcall *)(cocos2d::CCObject *))v4->__vftable[9].copyWithZone)(v4); ((void (__fastcall *)(cocos2d::CCObject *, _DWORD))v4->__vftable[6].~CCObject)(v4, 0); m_pChildren = a1->m_pChildren; if ( a1->m_bUseChildIndex ) cocos2d::CCArray::removeObjectAtIndexChild(m_pChildren, v4->m_uUnknown, 1); else cocos2d::CCArray::removeObject(m_pChildren, v4, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source