//
// GameManager::modUIRank from 0x1003b5c40 to 0x1003b5c80 (64 bytes)
//
// 5 xrefs:
// > ProfilePage::init @ 0x10022a4e4
// > ProfilePage::loadPageFromUserInfo @ 0x10022cd60
// > ProfilePage::setupAccountButtons @ 0x10022d7dc
// > ProfilePage::setupAccountButtons @ 0x10022d804
// > MenuLayer::init @ 0x100304984
//
// This function is hookable on this platform (idp: arm, 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:03:56 +0000
//
__int64 __fastcall GameManager::modUIRank(__int64 a1)
{
if ( GameManager::getGameVariable(a1, "0235") )
return 0;
else
return (unsigned int)(*(_DWORD *)(a1 + 1032) - *(_DWORD *)(a1 + 1036));
}