{"type": "func", "start": 363488, "end": 363580, "name": "sub_58BE0", "pseudocode": "// \n// sub_58BE0 from 0x58be0 to 0x58c3c (92 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c460\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_58BE0(_QWORD *a1, unsigned int a2, float a3)\n{\n  __int64 result; // x0\n\n  if ( *(_QWORD **)(a1[1] + 69856LL) == a1 )\n    return 5;\n  result = sub_56050((__int64)a1, a2, a3);\n  if ( !(_DWORD)result )\n    return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 120LL))(a1, a2);\n  return result;\n}", "assembly": "; \n; sub_58BE0 from 0x58be0 to 0x58c3c (92 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c460\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, 0x58be0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x58be4\nLDR             X8, [X0,#8]                                            ; +0x8, 0x58be8\nMOV             W9, #0x110E0                                           ; +0xc, 0x58bec\nADD             X29, SP, #0x10                                         ; +0x14, 0x58bf4\nLDR             X8, [X8,X9]                                            ; +0x18, 0x58bf8\nCMP             X8, X0                                                 ; +0x1c, 0x58bfc\nB.EQ            loc_58C30                                              ; +0x20, 0x58c00\nMOV             X19, X0                                                ; +0x24, 0x58c04\nMOV             W20, W1                                                ; +0x28, 0x58c08\nBL              sub_56050                                              ; +0x2c, 0x58c0c\nCBNZ            W0, loc_58C34                                          ; +0x30, 0x58c10\nLDR             X8, [X19]                                              ; +0x34, 0x58c14\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x58c18\nMOV             X0, X19                                                ; +0x3c, 0x58c1c\nMOV             W1, W20                                                ; +0x40, 0x58c20\nLDR             X2, [X8,#0x78]                                         ; +0x44, 0x58c24\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x58c28\nBR              X2                                                     ; +0x4c, 0x58c2c\nMOV             W0, #5                                                 ; +0x50, 0x58c30\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x58c34\nB               loc_5940C                                              ; +0x58, 0x58c38", "xrefs": ["<???> @ 0x10c460"], "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"}