{"type": "func", "start": 4298560096, "end": 4298560144, "name": "GameManager::modUIRank", "pseudocode": "// \n// GameManager::modUIRank from 0x10036d260 to 0x10036d290 (48 bytes)\n// \n// 5 xrefs:\n// > MenuLayer::init @ 0x10037bebd\n// > ProfilePage::init @ 0x10089e3d0\n// > ProfilePage::loadPageFromUserInfo @ 0x1008a14fe\n// > ProfilePage::setupAccountButtons @ 0x1008a2029\n// > ProfilePage::setupAccountButtons @ 0x1008a204b\n// \n// This function is hookable on this platform (idp: pc, 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 12:29:01 +0000\n// \n\n__int64 __fastcall GameManager::modUIRank(__int64 a1)\n{\n  char GameVariable; // cl\n  __int64 result; // rax\n\n  GameVariable = GameManager::getGameVariable(a1, \"0235\");\n  result = 0;\n  if ( !GameVariable )\n    return (unsigned int)(*(_DWORD *)(a1 + 1032) - *(_DWORD *)(a1 + 1036));\n  return result;\n}", "assembly": "; \n; GameManager::modUIRank from 0x10036d260 to 0x10036d290 (48 bytes)\n; \n; 5 xrefs:\n; > MenuLayer::init @ 0x10037bebd\n; > ProfilePage::init @ 0x10089e3d0\n; > ProfilePage::loadPageFromUserInfo @ 0x1008a14fe\n; > ProfilePage::setupAccountButtons @ 0x1008a2029\n; > ProfilePage::setupAccountButtons @ 0x1008a204b\n; \n; This function is hookable on this platform (idp: pc, 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 12:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036d260\nmov     rbp, rsp                                                       ; +0x1, 0x10036d261\npush    rbx                                                            ; +0x4, 0x10036d264\npush    rax                                                            ; +0x5, 0x10036d265\nmov     rbx, rdi                                                       ; +0x6, 0x10036d266\nlea     rsi, a0235; \"0235\"                                             ; +0x9, 0x10036d269\ncall    GameManager__getGameVariable                                   ; +0x10, 0x10036d270\nmov     ecx, eax                                                       ; +0x15, 0x10036d275\nxor     eax, eax                                                       ; +0x17, 0x10036d277\ntest    cl, cl                                                         ; +0x19, 0x10036d279\njnz     short loc_10036D289                                            ; +0x1b, 0x10036d27b\nmov     eax, [rbx+408h]                                                ; +0x1d, 0x10036d27d\nsub     eax, [rbx+40Ch]                                                ; +0x23, 0x10036d283\nadd     rsp, 8                                                         ; +0x29, 0x10036d289\npop     rbx                                                            ; +0x2d, 0x10036d28d\npop     rbp                                                            ; +0x2e, 0x10036d28e\nretn                                                                   ; +0x2f, 0x10036d28f", "xrefs": ["MenuLayer::init @ 0x10037bebd", "ProfilePage::init @ 0x10089e3d0", "ProfilePage::loadPageFromUserInfo @ 0x1008a14fe", "ProfilePage::setupAccountButtons @ 0x1008a2029", "ProfilePage::setupAccountButtons @ 0x1008a204b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}