// // cocos2d::CCStandardTouchHandler::handlerWithDelegate from 0x1800b78f0 to 0x1800b79aa (186 bytes) // // 3 xrefs: // > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1800b64ab // > @ 0x18014cf68 // > @ 0x1801c2a9c // // 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 11:22:22 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCStandardTouchHandler *__fastcall cocos2d::CCStandardTouchHandler::handlerWithDelegate( struct cocos2d::CCTouchDelegate *a1, unsigned int a2) { __int64 v4; // rbx bool (__fastcall *v5)(cocos2d::CCTouchHandler *__hidden, struct cocos2d::CCTouchDelegate *, int); // r9 bool v6; // al v4 = sub_1800E4AC0(0x48u); if ( v4 ) { *(_OWORD *)v4 = 0; *(_OWORD *)(v4 + 16) = 0; *(_OWORD *)(v4 + 32) = 0; *(_OWORD *)(v4 + 48) = 0; *(_QWORD *)(v4 + 64) = 0; cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4); *(_QWORD *)v4 = &cocos2d::CCStandardTouchHandler::`vftable'; } else { v4 = 0; } if ( !v4 ) return (struct cocos2d::CCStandardTouchHandler *)v4; v5 = *(bool (__fastcall **)(cocos2d::CCTouchHandler *__hidden, struct cocos2d::CCTouchDelegate *, int))(*(_QWORD *)v4 + 72LL); if ( v5 == cocos2d::CCTouchHandler::initWithDelegate ) v6 = cocos2d::CCTouchHandler::initWithDelegate((cocos2d::CCTouchHandler *)v4, a1, a2); else v6 = v5((cocos2d::CCTouchHandler *)v4, a1, a2); if ( v6 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return (struct cocos2d::CCStandardTouchHandler *)v4; } cocos2d::CCObject::release((cocos2d::CCObject *)v4); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source