// // cocos2d::CCMenu::giveMenuTouchPriority from 0x18005b3b0 to 0x18005b427 (119 bytes) // // 3 xrefs: // > cocos2d::CCMenu::giveMenuTouchPriority @ 0x18005b45a // > @ 0x18014cf68 // > @ 0x1801bcd84 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:49 +0000 // void __fastcall cocos2d::CCMenu::giveMenuTouchPriority(cocos2d::CCMenu *this, unsigned int a2) { __int64 v4; // rcx __int64 v5; // rdx if ( *((_DWORD *)this + 109) == 1 ) { v4 = *((_QWORD *)this + 55); if ( v4 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 904LL))(v4); *((_QWORD *)this + 55) = 0; } *((_DWORD *)this + 109) = 0; } (*(void (__fastcall **)(cocos2d::CCMenu *, _QWORD))(*(_QWORD *)this + 920LL))(this, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, _QWORD))(*(_QWORD *)this + 944LL))(this, a2); LOBYTE(v5) = 1; (*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)this + 920LL))(this, v5); }