{"type": "func", "start": 4300509248, "end": 4300509344, "name": "AccountReviewPopup::adminUserHistoryFailed", "pseudocode": "// \n// AccountReviewPopup::adminUserHistoryFailed from 0x100549040 to 0x1005490a0 (96 bytes)\n// \n// 2 xrefs:\n// > sub_1005490A0 @ 0x1005490a4\n// > <???> @ 0x1009a8c60\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:07:49 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::adminUserHistoryFailed(__int64 result, int a2)\n{\n  __int64 v2; // x19\n\n  if ( *(_DWORD *)(result + 840) == a2 )\n  {\n    v2 = result;\n    if ( *(_DWORD *)(result + 1236) == 2 )\n    {\n      sub_10051B1EC(result);\n      result = sub_10051B164(v2);\n      if ( (result & 1) == 0 )\n        return sub_10051B1FC(v2, \"Failed to load history.\");\n    }\n  }\n  return result;\n}", "assembly": "; \n; AccountReviewPopup::adminUserHistoryFailed from 0x100549040 to 0x1005490a0 (96 bytes)\n; \n; 2 xrefs:\n; > sub_1005490A0 @ 0x1005490a4\n; > <???> @ 0x1009a8c60\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:07:49 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100549040\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100549044\nADD             X29, SP, #0x10                                         ; +0x8, 0x100549048\nLDR             W8, [X0,#0x348]                                        ; +0xc, 0x10054904c\nCMP             W8, W1                                                 ; +0x10, 0x100549050\nB.NE            loc_10054907C                                          ; +0x14, 0x100549054\nMOV             X19, X0                                                ; +0x18, 0x100549058\nLDR             W8, [X0,#0x4D4]                                        ; +0x1c, 0x10054905c\nCMP             W8, #2                                                 ; +0x20, 0x100549060\nB.NE            loc_10054907C                                          ; +0x24, 0x100549064\nMOV             X0, X19                                                ; +0x28, 0x100549068\nBL              sub_10051B1EC                                          ; +0x2c, 0x10054906c\nMOV             X0, X19                                                ; +0x30, 0x100549070\nBL              sub_10051B164                                          ; +0x34, 0x100549074\nTBZ             W0, #0, loc_100549088                                  ; +0x38, 0x100549078\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x10054907c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100549080\nRET                                                                    ; +0x44, 0x100549084\nADRL            X1, aFailedToLoadHi; \"Failed to load history.\"         ; +0x48, 0x100549088\nMOV             X0, X19                                                ; +0x50, 0x100549090\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100549094\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100549098\nB               sub_10051B1FC                                          ; +0x5c, 0x10054909c", "xrefs": ["sub_1005490A0 @ 0x1005490a4", "<???> @ 0x1009a8c60"], "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"}