// // cocos2d::CCSet::removeObject from 0x18000fc00 to 0x18000fcb2 (178 bytes) // // 4 xrefs: // > cocos2d::CCTouchDispatcher::touches @ 0x1800b33ed // > cocos2d::CCTouchDispatcher::touches @ 0x1800b34a1 // > @ 0x1801438a8 // > @ 0x1801ae044 // // 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 __fastcall cocos2d::CCSet::removeObject(cocos2d::CCSet *this, struct cocos2d::CCObject *a2) { __int64 ***m_pSet; // r10 __int64 *v4; // r9 __int64 v5; // r8 __int64 v6; // rax __int64 v7; // rcx unsigned __int64 v8; // rdx __int64 *v9[3]; // [rsp+20h] [rbp-18h] BYREF m_pSet = (__int64 ***)this->m_pSet; v4 = (__int64 *)*m_pSet; v5 = (__int64)*m_pSet; v6 = (__int64)(*m_pSet)[1]; v7 = v6; while ( !*(_BYTE *)(v7 + 25) ) { v8 = *(_QWORD *)(v7 + 32); if ( v8 >= (unsigned __int64)a2 ) { if ( *(_BYTE *)(v5 + 25) && (unsigned __int64)a2 < v8 ) v5 = v7; v4 = (__int64 *)v7; v7 = *(_QWORD *)v7; } else { v7 = *(_QWORD *)(v7 + 16); } } if ( !*(_BYTE *)(v5 + 25) ) v6 = *(_QWORD *)v5; while ( !*(_BYTE *)(v6 + 25) ) { if ( (unsigned __int64)a2 >= *(_QWORD *)(v6 + 32) ) { v6 = *(_QWORD *)(v6 + 16); } else { v5 = v6; v6 = *(_QWORD *)v6; } } v9[0] = v4; v9[1] = (__int64 *)v5; sub_18000F020(m_pSet, v9); if ( a2 ) cocos2d::CCObject::release(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source