// // cocos2d::CCNode::detachChild from 0x100273230 to 0x1002732c2 (146 bytes) // // 0 xrefs: // // 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) { char v2; // dl char v3; // r15 cocos2d::CCArray *m_pChildren; // rdi v3 = v2; if ( a1->m_bRunning ) { (*(void (__fastcall **)(bool))(*(_QWORD *)a2 + 712LL))(a2); (*(void (__fastcall **)(bool))(*(_QWORD *)a2 + 704LL))(a2); } if ( v3 ) (*(void (__fastcall **)(bool))(*(_QWORD *)a2 + 720LL))(a2); (*(void (__fastcall **)(bool, _QWORD))(*(_QWORD *)a2 + 488LL))(a2, 0); m_pChildren = a1->m_pChildren; if ( a1->m_bUseChildIndex ) cocos2d::CCArray::removeObjectAtIndexChild(m_pChildren, *(_DWORD *)(a2 + 36LL), 1); else sub_100720220(m_pChildren, a2, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source