// // cocos2d::CCNode::detachChild from 0x10023b9e0 to 0x10023ba90 (176 bytes) // // 1 xrefs: // > cocos2d::CCNode::removeChild @ 0x10023b9d8 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall cocos2d::CCNode::detachChild(cocos2d::CCNode *a1, bool a2) { int v2; // w2 int v3; // w21 unsigned int *v4; // x19 cocos2d::CCArray *m_pChildren; // x0 v3 = v2; v4 = (unsigned int *)a2; if ( a1->m_bRunning ) { (*(void (__fastcall **)(bool))(*(_QWORD *)a2 + 712LL))(a2); (*(void (__fastcall **)(unsigned int *))(*(_QWORD *)v4 + 704LL))(v4); } if ( v3 ) (*(void (__fastcall **)(unsigned int *))(*(_QWORD *)v4 + 720LL))(v4); (*(void (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)v4 + 488LL))(v4, 0); m_pChildren = a1->m_pChildren; if ( a1->m_bUseChildIndex ) cocos2d::CCArray::removeObjectAtIndexChild(m_pChildren, v4[9], 1); else sub_10024A444(m_pChildren, v4, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source