// // cocos2d::CCNode::detachChild from 0xacc920 to 0xacc9ec (204 bytes) // // 2 xrefs: // > cocos2d::CCNode::removeChild @ 0xacc9f8 // > @ 0x6a758 // // 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 cocos2d::CCNode::detachChild(cocos2d::CCNode *a1, bool a2) { unsigned __int8 v2; // w2 cocos2d::CCObject *v4; // x19 int v5; // w21 v4 = (cocos2d::CCObject *)a2; v5 = v2; if ( !a1->m_bRunning ) { if ( !v2 ) goto LABEL_3; LABEL_6: ((void (__fastcall *)(cocos2d::CCObject *))v4->__vftable[9].copyWithZone)(v4); ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))v4->__vftable[6].~CCObject)(v4, 0); if ( !a1->m_bUseChildIndex ) goto LABEL_4; goto LABEL_7; } (*(void (__fastcall **)(bool))(*(_QWORD *)a2 + 712LL))(a2); v4->__vftable[8].getTag(v4); if ( v5 ) goto LABEL_6; LABEL_3: ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))v4->__vftable[6].~CCObject)(v4, 0); if ( !a1->m_bUseChildIndex ) { LABEL_4: cocos2d::CCArray::removeObject(a1->m_pChildren, v4, 1); return; } LABEL_7: cocos2d::CCArray::removeObjectAtIndexChild(a1->m_pChildren, v4->m_uUnknown, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source