{"type": "func", "start": 6442811456, "end": 6442811491, "name": "sub_180058040", "pseudocode": "// \n// sub_180058040 from 0x180058040 to 0x180058063 (35 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSPConnection::getOutput @ 0x180057320\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:53:20 +0000\n// \n\n__int64 __fastcall sub_180058040(__int64 a1, _QWORD *a2)\n{\n  __int64 v3; // rax\n\n  if ( !a2 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 96);\n  if ( v3 )\n  {\n    *a2 = v3;\n    return 0;\n  }\n  else\n  {\n    *a2 = 0;\n    return 46;\n  }\n}", "assembly": "; \n; sub_180058040 from 0x180058040 to 0x180058063 (35 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSPConnection::getOutput @ 0x180057320\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:53:20 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x180058040\njnz     short loc_18005804B                                            ; +0x3, 0x180058043\nmov     eax, 1Fh                                                       ; +0x5, 0x180058045\nretn                                                                   ; +0xa, 0x18005804a\nmov     rax, [rcx+60h]                                                 ; +0xb, 0x18005804b\ntest    rax, rax                                                       ; +0xf, 0x18005804f\njnz     short loc_18005805D                                            ; +0x12, 0x180058052\nmov     [rdx], rax                                                     ; +0x14, 0x180058054\nmov     eax, 2Eh ; '.'                                                 ; +0x17, 0x180058057\nretn                                                                   ; +0x1c, 0x18005805c\nmov     [rdx], rax                                                     ; +0x1d, 0x18005805d\nxor     eax, eax                                                       ; +0x20, 0x180058060\nretn                                                                   ; +0x22, 0x180058062", "xrefs": ["FMOD::DSPConnection::getOutput @ 0x180057320"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}