{"type": "func", "start": 4298857536, "end": 4298857600, "name": "GameManager::modUIRank", "pseudocode": "// \n// GameManager::modUIRank from 0x1003b5c40 to 0x1003b5c80 (64 bytes)\n// \n// 5 xrefs:\n// > ProfilePage::init @ 0x10022a4e4\n// > ProfilePage::loadPageFromUserInfo @ 0x10022cd60\n// > ProfilePage::setupAccountButtons @ 0x10022d7dc\n// > ProfilePage::setupAccountButtons @ 0x10022d804\n// > MenuLayer::init @ 0x100304984\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:03:56 +0000\n// \n\n__int64 __fastcall GameManager::modUIRank(__int64 a1)\n{\n  if ( GameManager::getGameVariable(a1, \"0235\") )\n    return 0;\n  else\n    return (unsigned int)(*(_DWORD *)(a1 + 1032) - *(_DWORD *)(a1 + 1036));\n}", "assembly": "; \n; GameManager::modUIRank from 0x1003b5c40 to 0x1003b5c80 (64 bytes)\n; \n; 5 xrefs:\n; > ProfilePage::init @ 0x10022a4e4\n; > ProfilePage::loadPageFromUserInfo @ 0x10022cd60\n; > ProfilePage::setupAccountButtons @ 0x10022d7dc\n; > ProfilePage::setupAccountButtons @ 0x10022d804\n; > MenuLayer::init @ 0x100304984\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:03:56 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003b5c40\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003b5c44\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003b5c48\nMOV             X19, X0                                                ; +0xc, 0x1003b5c4c\nADRL            X1, a0235; \"0235\"                                      ; +0x10, 0x1003b5c50\nBL              GameManager__getGameVariable                           ; +0x18, 0x1003b5c58\nTBZ             W0, #0, loc_1003B5C68                                  ; +0x1c, 0x1003b5c5c\nMOV             W0, #0                                                 ; +0x20, 0x1003b5c60\nB               loc_1003B5C74                                          ; +0x24, 0x1003b5c64\nLDR             W8, [X19,#0x408]                                       ; +0x28, 0x1003b5c68\nLDR             W9, [X19,#0x40C]                                       ; +0x2c, 0x1003b5c6c\nSUB             W0, W8, W9                                             ; +0x30, 0x1003b5c70\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x1003b5c74\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x1003b5c78\nRET                                                                    ; +0x3c, 0x1003b5c7c", "xrefs": ["ProfilePage::init @ 0x10022a4e4", "ProfilePage::loadPageFromUserInfo @ 0x10022cd60", "ProfilePage::setupAccountButtons @ 0x10022d7dc", "ProfilePage::setupAccountButtons @ 0x10022d804", "MenuLayer::init @ 0x100304984"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}