{"type": "func", "start": 6443380096, "end": 6443380211, "name": "sub_1800E2D80", "pseudocode": "// \n// sub_1800E2D80 from 0x1800e2d80 to 0x1800e2df3 (115 bytes)\n// \n// 2 xrefs:\n// > FMOD::System::createDSP @ 0x1800abe6b\n// > <???> @ 0x1801ffa2c\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_1800E2D80(__int64 a1, __int64 a2, __int64 *a3)\n{\n  __int64 v5; // rcx\n  __int64 result; // rax\n\n  if ( !a3 )\n    return 31;\n  *a3 = 0;\n  if ( !a2 )\n    return 31;\n  v5 = *(_QWORD *)(a1 + 69128);\n  if ( !v5 )\n    return 67;\n  result = sub_1800D7620(v5, nullptr, a2, a3);\n  if ( !(_DWORD)result )\n  {\n    *(_QWORD *)(*a3 + 168) = a1;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E2D80 from 0x1800e2d80 to 0x1800e2df3 (115 bytes)\n; \n; 2 xrefs:\n; > FMOD::System::createDSP @ 0x1800abe6b\n; > <???> @ 0x1801ffa2c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800e2d80\npush    rdi                                                            ; +0x5, 0x1800e2d85\nsub     rsp, 20h                                                       ; +0x6, 0x1800e2d86\nmov     rbx, r8                                                        ; +0xa, 0x1800e2d8a\nmov     rdi, rcx                                                       ; +0xd, 0x1800e2d8d\ntest    r8, r8                                                         ; +0x10, 0x1800e2d90\njz      short loc_1800E2DE3                                            ; +0x13, 0x1800e2d93\nmov     qword ptr [r8], 0                                              ; +0x15, 0x1800e2d95\ntest    rdx, rdx                                                       ; +0x1c, 0x1800e2d9c\njz      short loc_1800E2DE3                                            ; +0x1f, 0x1800e2d9f\nmov     rcx, [rcx+10E08h]                                              ; +0x21, 0x1800e2da1\ntest    rcx, rcx                                                       ; +0x28, 0x1800e2da8\njnz     short loc_1800E2DBB                                            ; +0x2b, 0x1800e2dab\nlea     eax, [rcx+43h]                                                 ; +0x2d, 0x1800e2dad\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x1800e2db0\nadd     rsp, 20h                                                       ; +0x35, 0x1800e2db5\npop     rdi                                                            ; +0x39, 0x1800e2db9\nretn                                                                   ; +0x3a, 0x1800e2dba\nmov     r8, rdx                                                        ; +0x3b, 0x1800e2dbb\nmov     r9, rbx                                                        ; +0x3e, 0x1800e2dbe\nxor     edx, edx                                                       ; +0x41, 0x1800e2dc1\ncall    sub_1800D7620                                                  ; +0x43, 0x1800e2dc3\ntest    eax, eax                                                       ; +0x48, 0x1800e2dc8\njnz     short loc_1800E2DE8                                            ; +0x4a, 0x1800e2dca\nmov     rax, [rbx]                                                     ; +0x4c, 0x1800e2dcc\nmov     [rax+0A8h], rdi                                                ; +0x4f, 0x1800e2dcf\nxor     eax, eax                                                       ; +0x56, 0x1800e2dd6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x58, 0x1800e2dd8\nadd     rsp, 20h                                                       ; +0x5d, 0x1800e2ddd\npop     rdi                                                            ; +0x61, 0x1800e2de1\nretn                                                                   ; +0x62, 0x1800e2de2\nmov     eax, 1Fh                                                       ; +0x63, 0x1800e2de3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x68, 0x1800e2de8\nadd     rsp, 20h                                                       ; +0x6d, 0x1800e2ded\npop     rdi                                                            ; +0x71, 0x1800e2df1\nretn                                                                   ; +0x72, 0x1800e2df2", "xrefs": ["FMOD::System::createDSP @ 0x1800abe6b", "<???> @ 0x1801ffa2c"], "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"}