// // cocos2d::CCTouchDispatcher::findHandler from 0xdb1bf4 to 0xdb1ce0 (236 bytes) // // 5 xrefs: // > BoomScrollLayer::claimTouch @ 0x68a764 // > TableView::claimTouch @ 0x696f5c // > CCTextInputNode::isCoveredByPopup @ 0x6b8684 // > cocos2d::CCTouchDispatcher::setPriority @ 0xdb2444 // > @ 0x98950 // // This function is hookable on this platform (idp: arm, 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 13:08:39 +0000 // cocos2d::CCTouchHandler *__fastcall cocos2d::CCTouchDispatcher::findHandler( cocos2d::CCTouchDispatcher *this, cocos2d::CCTouchDelegate *a2) { __int64 v4; // x0 unsigned int *v5; // x1 cocos2d::CCTouchHandler **v6; // x20 __int64 v7; // x0 char *v8; // x22 cocos2d::CCTouchHandler *v9; // x19 cocos2d::CCTouchHandler *v10; // x0 __int64 v11; // x0 unsigned int *v12; // x1 cocos2d::CCTouchHandler **v13; // x20 __int64 v14; // x0 char *v15; // x22 cocos2d::CCTouchHandler *v16; // x0 v4 = *((_QWORD *)this + 8); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((cocos2d::CCTouchHandler ***)v5 + 2); v7 = 8LL * *v5 - 8; v8 = (char *)v6 + v7; if ( v6 <= (cocos2d::CCTouchHandler **)((char *)v6 + v7) ) { do { v9 = *v6; if ( !*v6 ) break; v10 = *v6++; if ( a2 == (cocos2d::CCTouchDelegate *)cocos2d::CCTouchHandler::getDelegate(v10) ) return v9; } while ( v8 >= (char *)v6 ); } } } v11 = *((_QWORD *)this + 9); if ( v11 ) { v12 = *(unsigned int **)(v11 + 56); if ( *v12 ) { v13 = *((cocos2d::CCTouchHandler ***)v12 + 2); v14 = 8LL * *v12 - 8; v15 = (char *)v13 + v14; if ( v13 <= (cocos2d::CCTouchHandler **)((char *)v13 + v14) ) { do { v9 = *v13; if ( !*v13 ) break; v16 = *v13++; if ( a2 == (cocos2d::CCTouchDelegate *)cocos2d::CCTouchHandler::getDelegate(v16) ) return v9; } while ( v15 >= (char *)v13 ); } } } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source