// // cocos2d::extension::CCControl::removeHandleOfControlEvent from 0x180004730 to 0x180004797 (103 bytes) // // 2 xrefs: // > @ 0x180032408 // > @ 0x18004b420 // // 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:15:35 +0000 // void __fastcall cocos2d::extension::CCControl::removeHandleOfControlEvent(cocos2d::extension::CCControl *this, int a2) { char *v2; // r9 __int64 *v4; // rcx __int64 *v5; // rdx __int64 *i; // rax void *v7; // rax v2 = (char *)this + 456; v4 = *((__int64 **)this + 57); v5 = v4; for ( i = (__int64 *)v4[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i ) { if ( *((_DWORD *)i + 7) >= a2 ) v5 = i; else i += 2; } if ( !*((_BYTE *)v5 + 25) && a2 >= *((_DWORD *)v5 + 7) && v4 != v5 ) { v7 = (void *)sub_180004A50(v2); j_j_free(v7); } }