// // cocos2d::CCSet::removeObject from 0xd45e60 to 0xd45f58 (248 bytes) // // 3 xrefs: // > cocos2d::CCTouchDispatcher::touches @ 0xdb2134 // > cocos2d::CCTouchDispatcher::touches @ 0xdb21a8 // > @ 0x73c18 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:34 +0000 // void __fastcall cocos2d::CCSet::removeObject(cocos2d::CCSet *this, cocos2d::CCObject *a2) { __int64 **v3; // x3 __int64 *v4; // x0 __int64 *v5; // x20 __int64 *v6; // x1 __int64 *v7; // x1 __int64 *v8; // x2 bool v9; // zf __int64 *v10; // x1 v3 = *((__int64 ***)this + 7); v4 = v3[1]; if ( v4 ) { v5 = (__int64 *)(v3 + 1); v6 = v3[1]; do { while ( v6[4] >= (unsigned __int64)a2 ) { v5 = v6; v6 = (__int64 *)*v6; if ( !v6 ) goto LABEL_5; } v6 = (__int64 *)v6[1]; } while ( v6 ); LABEL_5: v7 = v5; if ( v3 + 1 != (__int64 **)v5 && v5[4] <= (unsigned __int64)a2 ) { v8 = (__int64 *)v5[1]; if ( v8 ) { while ( *v8 ) v8 = (__int64 *)*v8; } else { do { v8 = (__int64 *)v7[2]; v9 = v7 == (__int64 *)*v8; v10 = v8; if ( v9 ) break; v8 = (__int64 *)v8[2]; v9 = v10 == (__int64 *)*v8; v7 = v8; } while ( !v9 ); } if ( *v3 == v5 ) *v3 = v8; v3[2] = (__int64 *)((char *)v3[2] - 1); std::__tree_remove *>(v4, v5); operator delete(v5); } } if ( a2 ) cocos2d::CCObject::release(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source