//
// cocos2d::CCMenu::giveMenuTouchPriority from 0x7dbdd0 to 0x7dbdec (28 bytes)
//
// 2 xrefs:
// > ProfilePage::setupCommentsBrowser @ 0x5f64dc
// > MessageThreadsPage::setupThreadBrowser @ 0x746c90
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:45 +0000
//
int __fastcall cocos2d::CCMenu::giveMenuTouchPriority(cocos2d::CCMenu *this)
{
int v2; // r0
int v3; // r1
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = *(_DWORD *)((*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2) + 100);
return cocos2d::CCMenu::giveMenuTouchPriority(this, v3 - 1);
}