// // cocos2d::CCMenu::setHandlerPriority from 0x180059980 to 0x1800599c5 (69 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b2b8c // // 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::CCMenu::setHandlerPriority(cocos2d::CCMenu *this, int a2) { struct cocos2d::CCDirector *v4; // rax cocos2d::CCTouchDispatcher *v5; // rax struct cocos2d::CCTouchDelegate *v6; // r8 v4 = cocos2d::CCDirector::sharedDirector(); v5 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v4->getTouchDispatcher)(v4); v6 = &this->cocos2d::CCTouchDelegate; if ( !this ) v6 = nullptr; cocos2d::CCTouchDispatcher::setPriority(v5, a2, v6); }