// // cocos2d::CCTouchDispatcher::rearrangeHandlers from 0x1004c7e30 to 0x1004c7e7a (74 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:31:08 +0000 // __int64 __fastcall cocos2d::CCTouchDispatcher::rearrangeHandlers(__int64 a1, __int64 a2) { unsigned int *v2; // rax __m128i *v3; // rdi unsigned __int64 v4; // rax unsigned __int64 v5; // rcx __int64 v6; // rcx __int64 (__fastcall *v8)(); // [rsp+8h] [rbp-8h] BYREF v2 = *(unsigned int **)(a2 + 56); v3 = *((__m128i **)v2 + 2); v4 = *v2; _BitScanReverse64(&v5, v4); v6 = (2 * ((unsigned int)v5 ^ 0x3F)) ^ 0x7ELL; v8 = sub_1004C7E80; if ( !v4 ) v6 = 0; return sub_100261E00(v3, (__m128i *)((char *)v3 + 8 * v4), (__int64 (__fastcall **)(__int64))&v8, v6, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source