{"type": "func", "start": 363380, "end": 363488, "name": "sub_58B74", "pseudocode": "// \n// sub_58B74 from 0x58b74 to 0x58be0 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c4c0\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_58B74(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)\n{\n  __int64 v7; // x0\n  __int64 v8; // x1\n  signed int v9; // w2\n  signed int v10; // w3\n  unsigned int v11; // w4\n  char v12; // w5\n  __int64 result; // x0\n  __int64 v14; // x0\n\n  if ( (a6 & 1) == 0\n    || (v7 = sub_59420(a1, a2, a3, a4, a5, 1), result = sub_5614C(v7, v8, v9, v10, v11, v12), !(_DWORD)result) )\n  {\n    v14 = sub_59420(*(_QWORD *)(a1 + 112), a2, a3, a4, a5, a6);\n    return sub_B0C20(v14);\n  }\n  return result;\n}", "assembly": "; \n; sub_58B74 from 0x58b74 to 0x58be0 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c4c0\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             X23, [SP,#-0x10+var_30]!                               ; +0x0, 0x58b74\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x58b78\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x58b7c\nMOV             W19, W4                                                ; +0xc, 0x58b80\nMOV             W20, W3                                                ; +0x10, 0x58b84\nMOV             W21, W2                                                ; +0x14, 0x58b88\nMOV             X22, X1                                                ; +0x18, 0x58b8c\nMOV             X23, X0                                                ; +0x1c, 0x58b90\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x20, 0x58b94\nADD             X29, SP, #0x30                                         ; +0x24, 0x58b98\nTBZ             W5, #0, loc_58BBC                                      ; +0x28, 0x58b9c\nMOV             W5, #1                                                 ; +0x2c, 0x58ba0\nMOV             X0, X23                                                ; +0x30, 0x58ba4\nBL              sub_59420                                              ; +0x34, 0x58ba8\nBL              sub_5614C                                              ; +0x38, 0x58bac\nCBZ             W0, loc_58BBC                                          ; +0x3c, 0x58bb0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x58bb4\nB               loc_593B0                                              ; +0x44, 0x58bb8\nLDR             X0, [X23,#0x70]                                        ; +0x48, 0x58bbc\nBL              sub_59420                                              ; +0x4c, 0x58bc0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x50, 0x58bc4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x54, 0x58bc8\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x58, 0x58bcc\nMOV             W5, #0x40 ; '@'                                        ; +0x5c, 0x58bd0\nMOV             W6, #1                                                 ; +0x60, 0x58bd4\nLDR             X23, [SP+0x30+var_30],#0x40                            ; +0x64, 0x58bd8\nB               sub_B0C20                                              ; +0x68, 0x58bdc", "xrefs": ["<???> @ 0x10c4c0"], "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"}