{"type": "func", "start": 341924, "end": 342060, "name": "sub_537A4", "pseudocode": "// \n// sub_537A4 from 0x537a4 to 0x5382c (136 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c270\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_537A4(__int64 a1, long double a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x8\n  __int64 v6; // x21\n\n  if ( (*(_BYTE *)(a1 + 60) & 0x80) == 0 )\n  {\n    result = sub_53590(a1, *(float *)&a2);\n    if ( (_DWORD)result )\n      return result;\n    if ( *(_QWORD *)(a1 + 768) )\n    {\n      v5 = 0;\n      while ( 1 )\n      {\n        v6 = v5 + 24;\n        if ( v5 == 96 )\n          break;\n        result = sub_53484(a1, *(_QWORD *)(a1 + 8) + v5 + 73656, a2);\n        v5 = v6;\n        if ( (_DWORD)result )\n          return result;\n      }\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_537A4 from 0x537a4 to 0x5382c (136 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c270\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\nSTR             D8, [SP,#-0x10+var_20]!                                ; +0x0, 0x537a4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x537a8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x537ac\nLDRB            W8, [X0,#0x3C]                                         ; +0xc, 0x537b0\nSTR             X21, [SP,#0x20+var_18]                                 ; +0x10, 0x537b4\nADD             X29, SP, #0x20                                         ; +0x14, 0x537b8\nTBNZ            W8, #7, loc_53814                                      ; +0x18, 0x537bc\nMOV             X19, X0                                                ; +0x1c, 0x537c0\nMOV             V8.16B, V0.16B                                         ; +0x20, 0x537c4\nBL              sub_53590                                              ; +0x24, 0x537c8\nCBNZ            W0, loc_53818                                          ; +0x28, 0x537cc\nLDR             X8, [X19,#0x300]                                       ; +0x2c, 0x537d0\nCBZ             X8, loc_53814                                          ; +0x30, 0x537d4\nMOV             W20, #0x1FB8                                           ; +0x34, 0x537d8\nMOV             X8, XZR                                                ; +0x38, 0x537dc\nMOVK            W20, #1,LSL#16                                         ; +0x3c, 0x537e0\nADD             X21, X8, #0x18                                         ; +0x40, 0x537e4\nCMP             X21, #0x78 ; 'x'                                       ; +0x44, 0x537e8\nB.EQ            loc_53814                                              ; +0x48, 0x537ec\nLDR             X9, [X19,#8]                                           ; +0x4c, 0x537f0\nMOV             X0, X19                                                ; +0x50, 0x537f4\nMOV             V0.16B, V8.16B                                         ; +0x54, 0x537f8\nADD             X8, X9, X8                                             ; +0x58, 0x537fc\nADD             X1, X8, X20                                            ; +0x5c, 0x53800\nBL              sub_53484                                              ; +0x60, 0x53804\nMOV             X8, X21                                                ; +0x64, 0x53808\nCBZ             W0, loc_537E4                                          ; +0x68, 0x5380c\nB               loc_53818                                              ; +0x6c, 0x53810\nMOV             W0, WZR                                                ; +0x70, 0x53814\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x53818\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x5381c\nLDR             X21, [SP,#0x20+var_18]                                 ; +0x7c, 0x53820\nLDR             D8, [SP+0x20+var_20],#0x30                             ; +0x80, 0x53824\nRET                                                                    ; +0x84, 0x53828", "xrefs": ["<???> @ 0x10c270"], "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"}