//
// GameManager::modUIRank from 0x10036d260 to 0x10036d290 (48 bytes)
//
// 5 xrefs:
// > MenuLayer::init @ 0x10037bebd
// > ProfilePage::init @ 0x10089e3d0
// > ProfilePage::loadPageFromUserInfo @ 0x1008a14fe
// > ProfilePage::setupAccountButtons @ 0x1008a2029
// > ProfilePage::setupAccountButtons @ 0x1008a204b
//
// 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 12:29:01 +0000
//
__int64 __fastcall GameManager::modUIRank(__int64 a1)
{
char GameVariable; // cl
__int64 result; // rax
GameVariable = GameManager::getGameVariable(a1, "0235");
result = 0;
if ( !GameVariable )
return (unsigned int)(*(_DWORD *)(a1 + 1032) - *(_DWORD *)(a1 + 1036));
return result;
}