{"type": "func", "start": 342416, "end": 342504, "name": "sub_53990", "pseudocode": "// \n// sub_53990 from 0x53990 to 0x539e8 (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c2e0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_53990(__int64 a1, int a2, char a3)\n{\n  __int64 result; // x0\n  __int64 v6; // [xsp+8h] [xbp-18h] BYREF\n\n  if ( (a3 & 0x10) == 0 )\n    return 68;\n  result = (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1 + 136LL))(a1, &v6);\n  if ( !(_DWORD)result )\n  {\n    LODWORD(v6) = a2;\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 128LL))(a1, v6);\n  }\n  return result;\n}", "assembly": "; \n; sub_53990 from 0x53990 to 0x539e8 (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c2e0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x30                                          ; +0x0, 0x53990\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x53994\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x53998\nADD             X29, SP, #0x20                                         ; +0xc, 0x5399c\nTBNZ            W2, #4, loc_539AC                                      ; +0x10, 0x539a0\nMOV             W0, #0x44 ; 'D'                                        ; +0x14, 0x539a4\nB               loc_539E0                                              ; +0x18, 0x539a8\nLDR             X8, [X0]                                               ; +0x1c, 0x539ac\nMOV             W20, W1                                                ; +0x20, 0x539b0\nADD             X1, SP, #0x20+var_18                                   ; +0x24, 0x539b4\nMOV             X19, X0                                                ; +0x28, 0x539b8\nLDR             X8, [X8,#0x88]                                         ; +0x2c, 0x539bc\nBLR             X8                                                     ; +0x30, 0x539c0\nCBNZ            W0, loc_539E0                                          ; +0x34, 0x539c4\nSTR             W20, [SP,#0x20+var_18]                                 ; +0x38, 0x539c8\nLDR             X8, [X19]                                              ; +0x3c, 0x539cc\nLDR             X1, [SP,#0x20+var_18]                                  ; +0x40, 0x539d0\nMOV             X0, X19                                                ; +0x44, 0x539d4\nLDR             X8, [X8,#0x80]                                         ; +0x48, 0x539d8\nBLR             X8                                                     ; +0x4c, 0x539dc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0x539e0\nB               loc_53E08                                              ; +0x54, 0x539e4", "xrefs": ["<???> @ 0x10c2e0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}