// // cocos2d::CCTouchHandler::setDelegate from 0x1800b3f00 to 0x1800b3f7a (122 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b87e4 // // 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 // void __fastcall cocos2d::CCTouchHandler::setDelegate( cocos2d::CCTouchHandler *this, struct cocos2d::CCTouchDelegate *a2) { cocos2d::CCObject *v4; // rax cocos2d::CCTouchDelegate *m_pDelegate; // rcx cocos2d::CCObject *v6; // rax if ( a2 ) { v4 = (cocos2d::CCObject *)_RTDynamicCast( a2, 0, &cocos2d::CCTouchDelegate `RTTI Type Descriptor', &cocos2d::CCObject `RTTI Type Descriptor', 0); cocos2d::CCObject::retain(v4); } m_pDelegate = this->m_pDelegate; if ( m_pDelegate ) { v6 = (cocos2d::CCObject *)_RTDynamicCast( m_pDelegate, 0, &cocos2d::CCTouchDelegate `RTTI Type Descriptor', &cocos2d::CCObject `RTTI Type Descriptor', 0); cocos2d::CCObject::release(v6); } this->m_pDelegate = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source