// // cocos2d::extension::CCControl::removeHandleOfControlEvent from 0x10033df70 to 0x10033e029 (185 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:28:42 +0000 // void __fastcall cocos2d::extension::CCControl::removeHandleOfControlEvent(_QWORD *a1, int a2) { __int64 *v3; // rdi __int64 *v4; // rbx __int64 *v5; // rdx __int64 *v6; // rdx __int64 *v7; // rcx __int64 *v8; // rdx bool v9; // zf v3 = (__int64 *)a1[57]; if ( v3 ) { v4 = a1 + 57; v5 = v3; do { if ( *((_DWORD *)v5 + 7) >= a2 ) v4 = v5; v5 = (__int64 *)v5[*((_DWORD *)v5 + 7) < a2]; } while ( v5 ); if ( v4 != a1 + 57 && *((_DWORD *)v4 + 7) <= a2 ) { v6 = (__int64 *)v4[1]; if ( v6 ) { do { v7 = v6; v6 = (__int64 *)*v6; } while ( v6 ); } else { v8 = v4; do { v7 = (__int64 *)v8[2]; v9 = *v7 == (_QWORD)v8; v8 = v7; } while ( !v9 ); } if ( (__int64 *)a1[56] == v4 ) a1[56] = v7; --a1[58]; sub_1001454C0(v3, v4); operator delete(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source