// // cocos2d::CCLayer::registerScriptTouchHandler from 0x1800508a0 to 0x180050902 (98 bytes) // // 8 xrefs: // > @ 0x1800ed260 // > @ 0x1800ed720 // > @ 0x1800edc58 // > @ 0x1800ee1c0 // > @ 0x1800ee798 // > @ 0x1800f7068 // > @ 0x1801438a8 // > @ 0x1801b2028 // // 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::CCLayer::registerScriptTouchHandler( cocos2d::CCLayer *this, unsigned int a2, unsigned __int8 a3, unsigned int a4, bool a5) { cocos2d::CCTouchScriptHandlerEntry *v9; // rax ((void (__fastcall *)(cocos2d::CCLayer *))this->unregisterScriptTouchHandler)(this); v9 = (cocos2d::CCTouchScriptHandlerEntry *)sub_1800B6880(a2, a3, a4, a5); this->m_pScriptTouchHandlerEntry = v9; cocos2d::CCObject::retain(v9); }