// // cocos2d::CCTouchHandler::initWithDelegate from 0xb3f61c to 0xb3f690 (116 bytes) // // 6 xrefs: // > cocos2d::CCStandardTouchHandler::initWithDelegate @ 0xb3f690 // > cocos2d::CCTouchHandler::handlerWithDelegate @ 0xb3f8a0 // > cocos2d::CCTargetedTouchHandler::initWithDelegate @ 0xb3f9a8 // > @ 0x2d018 // > @ 0x121baa0 // > @ 0x121bb80 // // 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 // bool cocos2d::CCTouchHandler::initWithDelegate(cocos2d::CCTouchHandler *a1, cocos2d::CCTouchDelegate *a2, int a3) { cocos2d::CCObject *v5; // x0 a1->m_pDelegate = a2; if ( a2 ) { v5 = (cocos2d::CCObject *)_dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); cocos2d::CCObject::retain(v5); } else { cocos2d::CCObject::retain(nullptr); } a1->m_nPriority = a3; a1->m_nEnabledSelectors = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source