// // cocos2d::CCTouchDispatcher::findHandler_1 from 0x1004c7d70 to 0x1004c7e23 (179 bytes) // // 7 xrefs: // > sub_10006C1D0 @ 0x10006c1f7 // > CCTextInputNode::rightClick @ 0x10006cba4 // > CCTextInputNode::scrollWheel @ 0x10006d1be // > sub_100390340 @ 0x10039036b // > BoomScrollLayer::cancelAndStoleTouch @ 0x10039043a // > sub_1006FF300 @ 0x1006ff32b // > TableView::cancelAndStoleTouch @ 0x1006ff3fa // // 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::findHandler_1(__int64 a1, __int64 a2) { __int64 v2; // rax unsigned int *v3; // rax __int64 *v4; // r12 unsigned __int64 v5; // r13 __int64 v6; // r15 __int64 v7; // rax unsigned int *v8; // rax __int64 *v9; // r14 unsigned __int64 v10; // r12 v2 = *(_QWORD *)(a1 + 64); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((__int64 **)v3 + 2); v5 = (unsigned __int64)&v4[*v3 - 1]; do { v6 = *v4; if ( !*v4 ) break; if ( cocos2d::CCTouchHandler::getDelegate(*v4) == a2 ) return v6; ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } v7 = *(_QWORD *)(a1 + 72); if ( v7 ) { v8 = *(unsigned int **)(v7 + 56); if ( *v8 ) { v9 = *((__int64 **)v8 + 2); v10 = (unsigned __int64)&v9[*v8 - 1]; do { v6 = *v9; if ( !*v9 ) break; if ( cocos2d::CCTouchHandler::getDelegate(*v9) == a2 ) return v6; ++v9; } while ( (unsigned __int64)v9 <= v10 ); } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source