// // cocos2d::CCTouchDispatcher::addStandardDelegate from 0x1800b6490 to 0x1800b6522 (146 bytes) // // 3 xrefs: // > cocos2d::CCLayer::registerWithTouchDispatcher @ 0x18005278b // > @ 0x18014cf68 // > @ 0x1801c28ec // // 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:21 +0000 // void __fastcall cocos2d::CCTouchDispatcher::addStandardDelegate( cocos2d::CCTouchDispatcher *this, struct cocos2d::CCTouchDelegate *a2, int a3) { struct cocos2d::CCTouchHandler *v5; // rax struct cocos2d::CCObject *v6; // rsi v5 = cocos2d::CCStandardTouchHandler::handlerWithDelegate(a2, a3); v6 = v5; if ( *((_BYTE *)this + 80) ) { if ( sub_1800A1E40(*((_QWORD *)this + 12), (__int64)a2) ) { sub_1800A1F90(*((_QWORD *)this + 12), (__int64)a2); } else { cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 11), v6); *((_BYTE *)this + 81) = 1; } } else { cocos2d::CCTouchDispatcher::forceAddHandler(this, v5, *((struct cocos2d::CCArray **)this + 9)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source