// // cocos2d::CCTouchDispatcher::findHandler from 0x10014f150 to 0x10014f1bc (108 bytes) // // 1 xrefs: // > cocos2d::CCTouchDispatcher::removeDelegate @ 0x10014f0fc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCTouchHandler *__fastcall cocos2d::CCTouchDispatcher::findHandler( cocos2d::CCTouchDispatcher *a1, cocos2d::CCArray *a2, cocos2d::CCTouchDelegate *a3) { cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCTouchHandler **arr; // x21 unsigned __int64 v7; // x22 cocos2d::CCTouchHandler *v8; // x20 if ( !a2 ) return nullptr; data = a2->data; num = data->num; if ( !(_DWORD)num ) return nullptr; arr = (cocos2d::CCTouchHandler **)data->arr; v7 = (unsigned __int64)&arr[num - 1]; while ( 1 ) { v8 = *arr; if ( !*arr || cocos2d::CCTouchHandler::getDelegate(*arr) == a3 ) break; if ( (unsigned __int64)++arr > v7 ) return nullptr; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source