// // cocos2d::CCTouchDispatcher::findHandler from 0xdb1ce0 to 0xdb1d70 (144 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::removeDelegate @ 0xdb1d9c // > @ 0xcffd0 // // 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::CCArray *a2, cocos2d::CCTouchDelegate *a3) { unsigned int *v3; // x0 cocos2d::CCTouchHandler **v4; // x19 cocos2d::CCTouchHandler **v5; // x21 cocos2d::CCTouchHandler *v6; // x20 if ( !a2 ) return nullptr; v3 = *((unsigned int **)a2 + 7); if ( !*v3 ) return nullptr; v4 = *((cocos2d::CCTouchHandler ***)v3 + 2); v5 = &v4[*v3 - 1]; if ( v4 > v5 ) return nullptr; v6 = *v4; if ( !*v4 ) return nullptr; while ( 1 ) { ++v4; if ( a3 == (cocos2d::CCTouchDelegate *)cocos2d::CCTouchHandler::getDelegate(v6) ) break; if ( v5 >= v4 ) { v6 = *v4; if ( *v4 ) continue; } return nullptr; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source