{"type": "func", "start": 6443350720, "end": 6443350887, "name": "sub_1800DBAC0", "pseudocode": "// \n// sub_1800DBAC0 from 0x1800dbac0 to 0x1800dbb67 (167 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x18016cf70\n// > <???> @ 0x18018ca90\n// > <???> @ 0x18018caa0\n// > <???> @ 0x18018cab4\n// > <???> @ 0x18018cac4\n// > <???> @ 0x1801ff3f0\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_1800DBAC0(__int64 a1, _BYTE *a2)\n{\n  char v3; // al\n  char *v4; // rdi\n  __int64 result; // rax\n\n  if ( (unsigned __int8)(a2[10] - 5) > 1u )\n    return 0;\n  v3 = a2[9];\n  switch ( v3 )\n  {\n    case 1:\n      v4 = a2 + 12;\n      if ( !(unsigned int)sub_1800B7EF0(a2 + 12, \"Show Delays\") )\n      {\n        *(_DWORD *)(a1 + 80) = 1;\n        return 0;\n      }\n      result = sub_1800B7EF0(v4, \"Show None\");\n      if ( (_DWORD)result )\n        return 0;\n      *(_DWORD *)(a1 + 80) = 0;\n      break;\n    case 2:\n      FMOD::DSP::setActive(*(_QWORD *)(a2 + 12), a2[20] != 0);\n      return 0;\n    case 3:\n      FMOD::DSP::setBypass(*(_QWORD *)(a2 + 12), a2[20] != 0);\n      return 0;\n    default:\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DBAC0 from 0x1800dbac0 to 0x1800dbb67 (167 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x18016cf70\n; > <???> @ 0x18018ca90\n; > <???> @ 0x18018caa0\n; > <???> @ 0x18018cab4\n; > <???> @ 0x18018cac4\n; > <???> @ 0x1801ff3f0\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    rbx                                                            ; +0x0, 0x1800dbac0\nsub     rsp, 20h                                                       ; +0x2, 0x1800dbac2\nmovzx   eax, byte ptr [rdx+0Ah]                                        ; +0x6, 0x1800dbac6\nmov     r8, rdx                                                        ; +0xa, 0x1800dbaca\nsub     al, 5                                                          ; +0xd, 0x1800dbacd\nmov     rbx, rcx                                                       ; +0xf, 0x1800dbacf\ncmp     al, 1                                                          ; +0x12, 0x1800dbad2\nja      short loc_1800DBB06                                            ; +0x14, 0x1800dbad4\nmovzx   eax, byte ptr [rdx+9]                                          ; +0x16, 0x1800dbad6\ncmp     al, 1                                                          ; +0x1a, 0x1800dbada\njnz     short loc_1800DBB2F                                            ; +0x1c, 0x1800dbadc\nmov     [rsp+28h+arg_0], rdi                                           ; +0x1e, 0x1800dbade\nlea     rdi, [rdx+0Ch]                                                 ; +0x23, 0x1800dbae3\nmov     rcx, rdi                                                       ; +0x27, 0x1800dbae7\nlea     rdx, aShowDelays; \"Show Delays\"                                ; +0x2a, 0x1800dbaea\ncall    sub_1800B7EF0                                                  ; +0x31, 0x1800dbaf1\ntest    eax, eax                                                       ; +0x36, 0x1800dbaf6\njnz     short loc_1800DBB0E                                            ; +0x38, 0x1800dbaf8\nmov     dword ptr [rbx+50h], 1                                         ; +0x3a, 0x1800dbafa\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x41, 0x1800dbb01\nxor     eax, eax                                                       ; +0x46, 0x1800dbb06\nadd     rsp, 20h                                                       ; +0x48, 0x1800dbb08\npop     rbx                                                            ; +0x4c, 0x1800dbb0c\nretn                                                                   ; +0x4d, 0x1800dbb0d\nlea     rdx, aShowNone; \"Show None\"                                    ; +0x4e, 0x1800dbb0e\nmov     rcx, rdi                                                       ; +0x55, 0x1800dbb15\ncall    sub_1800B7EF0                                                  ; +0x58, 0x1800dbb18\ntest    eax, eax                                                       ; +0x5d, 0x1800dbb1d\njnz     short loc_1800DBB01                                            ; +0x5f, 0x1800dbb1f\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x61, 0x1800dbb21\nmov     [rbx+50h], eax                                                 ; +0x66, 0x1800dbb26\nadd     rsp, 20h                                                       ; +0x69, 0x1800dbb29\npop     rbx                                                            ; +0x6d, 0x1800dbb2d\nretn                                                                   ; +0x6e, 0x1800dbb2e\ncmp     al, 2                                                          ; +0x6f, 0x1800dbb2f\njnz     short loc_1800DBB4B                                            ; +0x71, 0x1800dbb31\ncmp     byte ptr [rdx+14h], 0                                          ; +0x73, 0x1800dbb33\nmov     rcx, [r8+0Ch]                                                  ; +0x77, 0x1800dbb37\nsetnz   dl                                                             ; +0x7b, 0x1800dbb3b\ncall    ?setActive@DSP@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::DSP::setActive(bool) ; +0x7e, 0x1800dbb3e\nxor     eax, eax                                                       ; +0x83, 0x1800dbb43\nadd     rsp, 20h                                                       ; +0x85, 0x1800dbb45\npop     rbx                                                            ; +0x89, 0x1800dbb49\nretn                                                                   ; +0x8a, 0x1800dbb4a\ncmp     al, 3                                                          ; +0x8b, 0x1800dbb4b\njnz     short loc_1800DBB06                                            ; +0x8d, 0x1800dbb4d\ncmp     byte ptr [rdx+14h], 0                                          ; +0x8f, 0x1800dbb4f\nmov     rcx, [r8+0Ch]                                                  ; +0x93, 0x1800dbb53\nsetnz   dl                                                             ; +0x97, 0x1800dbb57\ncall    ?setBypass@DSP@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::DSP::setBypass(bool) ; +0x9a, 0x1800dbb5a\nxor     eax, eax                                                       ; +0x9f, 0x1800dbb5f\nadd     rsp, 20h                                                       ; +0xa1, 0x1800dbb61\npop     rbx                                                            ; +0xa5, 0x1800dbb65\nretn                                                                   ; +0xa6, 0x1800dbb66", "xrefs": ["<???> @ 0x18016cf70", "<???> @ 0x18018ca90", "<???> @ 0x18018caa0", "<???> @ 0x18018cab4", "<???> @ 0x18018cac4", "<???> @ 0x1801ff3f0"], "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"}