// // cocos2d::CCTargetedTouchHandler::handlerWithDelegate from 0x100481550 to 0x10048160f (191 bytes) // // 1 xrefs: // > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1004cbd3a // // 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::CCTargetedTouchHandler *__fastcall cocos2d::CCTargetedTouchHandler::handlerWithDelegate( cocos2d::CCTouchDelegate *a1, int a2, bool a3) { cocos2d::CCTargetedTouchHandler *v4; // rbx cocos2d::CCObject *v5; // rdi cocos2d::CCSet *v6; // r15 v4 = (cocos2d::CCTargetedTouchHandler *)operator new(0x58u); *(_OWORD *)&v4->__vftable = 0; *(_OWORD *)&v4->m_nTag = 0; *(_OWORD *)&v4->m_uIndexInArray = 0; *(_OWORD *)&v4->m_uOrderOfArrival = 0; *(_OWORD *)&v4->m_nPriority = 0; v4->m_pClaimedTouches = nullptr; cocos2d::CCObject::CCObject(v4); v4->__vftable = (cocos2d::CCTargetedTouchHandler_vtbl *)off_10093C4B0; v4->m_pDelegate = a1; if ( a1 ) v5 = (cocos2d::CCObject *)__dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); else v5 = nullptr; cocos2d::CCObject::retain(v5); v4->m_nPriority = a2; v4->m_nEnabledSelectors = 0; v6 = (cocos2d::CCSet *)operator new(0x40u); cocos2d::CCSet::CCSet(v6); v4->m_pClaimedTouches = v6; v4->m_bSwallowsTouches = a3; cocos2d::CCObject::autorelease(v4); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source