{"type": "func", "start": 376176, "end": 376276, "name": "sub_5BD70", "pseudocode": "// \n// sub_5BD70 from 0x5bd70 to 0x5bdd4 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c688\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_5BD70(__int64 a1)\n{\n  __int64 v1; // x19\n  unsigned int v2; // w1\n  __int64 v3; // x8\n  float v4; // s0\n  __int64 v5; // x9\n  unsigned int v6; // w20\n  __int64 result; // x0\n\n  if ( !*(_QWORD *)(a1 + 472) )\n    return 30;\n  sub_5C688(a1);\n  if ( !v5 )\n    return 30;\n  if ( (*(_BYTE *)(v3 + 62) & 1) != 0 )\n    return 58;\n  v6 = v2;\n  result = sub_56050(v1, v2, v4);\n  if ( !(_DWORD)result )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 120LL))(v1, v6);\n  return result;\n}", "assembly": "; \n; sub_5BD70 from 0x5bd70 to 0x5bdd4 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c688\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x5bd70\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5bd74\nLDR             X8, [X0,#0x1D8]                                        ; +0x8, 0x5bd78\nADD             X29, SP, #0x10                                         ; +0xc, 0x5bd7c\nCBZ             X8, loc_5BDC0                                          ; +0x10, 0x5bd80\nBL              sub_5C688                                              ; +0x14, 0x5bd84\nCBZ             X9, loc_5BDC0                                          ; +0x18, 0x5bd88\nLDRB            W8, [X8,#0x3E]                                         ; +0x1c, 0x5bd8c\nTBNZ            W8, #0, loc_5BDC8                                      ; +0x20, 0x5bd90\nMOV             X0, X19                                                ; +0x24, 0x5bd94\nMOV             W20, W1                                                ; +0x28, 0x5bd98\nBL              sub_56050                                              ; +0x2c, 0x5bd9c\nCBNZ            W0, loc_5BDCC                                          ; +0x30, 0x5bda0\nLDR             X8, [X19]                                              ; +0x34, 0x5bda4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x5bda8\nMOV             X0, X19                                                ; +0x3c, 0x5bdac\nMOV             W1, W20                                                ; +0x40, 0x5bdb0\nLDR             X2, [X8,#0x78]                                         ; +0x44, 0x5bdb4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x5bdb8\nBR              X2                                                     ; +0x4c, 0x5bdbc\nMOV             W0, #0x1E                                              ; +0x50, 0x5bdc0\nB               loc_5BDCC                                              ; +0x54, 0x5bdc4\nMOV             W0, #0x3A ; ':'                                        ; +0x58, 0x5bdc8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x5bdcc\nB               loc_5C6E8                                              ; +0x60, 0x5bdd0", "xrefs": ["<???> @ 0x10c688"], "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"}