//
// cocos2d::CCMenu::giveMenuTouchPriority from 0x18005b430 to 0x18005b45f (47 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bcd90
//
// 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)
{
struct cocos2d::CCDirector *v2; // rax
__int64 v3; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCMenu::giveMenuTouchPriority(this, *(_DWORD *)(v3 + 128) - 1);
}