// // cocos2d::extension::CCControl::removeHandleOfControlEvent from 0x100352860 to 0x100352919 (185 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 // 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_100165F60(v3, v4); operator delete(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source