{"type": "func", "start": 363236, "end": 363272, "name": "sub_58AE4", "pseudocode": "// \n// sub_58AE4 from 0x58ae4 to 0x58b08 (36 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getDSPInfoByPlugin @ 0xb8358\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\nint __fastcall sub_58AE4(int a1, int a2, _DWORD *a3, _DWORD *a4)\n{\n  int result; // r0\n  _DWORD *v6; // [sp+4h] [bp-Ch] BYREF\n\n  v6 = a4;\n  if ( !a3 )\n    return 31;\n  result = sub_51A4C(*(_DWORD *)(a1 + 68272), a2, &v6);\n  if ( !result )\n  {\n    *a3 = *v6;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_58AE4 from 0x58ae4 to 0x58b08 (36 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getDSPInfoByPlugin @ 0xb8358\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\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x58ae4\nADD             R7, SP, #0x10                                          ; +0x2, 0x58ae6\nCBZ             R2, loc_58B02                                          ; +0x4, 0x58ae8\nMOV             R4, R2                                                 ; +0x6, 0x58aea\nLDR             R2, =0x10AB0                                           ; +0x8, 0x58aec\nLDR             R0, [R0,R2]                                            ; +0xa, 0x58aee\nADD             R2, SP, #8+var_4                                       ; +0xc, 0x58af0\nBL              sub_51A4C                                              ; +0xe, 0x58af2\nCBNZ            R0, loc_58B04                                          ; +0x12, 0x58af6\nLDR             R0, [SP,#8+var_4]                                      ; +0x14, 0x58af8\nLDR             R0, [R0]                                               ; +0x16, 0x58afa\nSTR             R0, [R4]                                               ; +0x18, 0x58afc\nMOVS            R0, #0                                                 ; +0x1a, 0x58afe\nB               loc_58B04                                              ; +0x1c, 0x58b00\nMOVS            R0, #0x1F                                              ; +0x1e, 0x58b02\nADD             SP, SP, #8                                             ; +0x20, 0x58b04\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x58b06", "xrefs": ["FMOD::System::getDSPInfoByPlugin @ 0xb8358"], "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"}