{"type": "func", "start": 6442500128, "end": 6442500432, "name": "FMOD::ChannelControl::getReverbProperties", "pseudocode": "// \n// FMOD::ChannelControl::getReverbProperties from 0x18000c020 to 0x18000c150 (304 bytes)\n// \n// 6 xrefs:\n// > FMOD_ChannelGroup_GetReverbProperties @ 0x1800c50e9\n// > FMOD_Channel_GetReverbProperties @ 0x1800c56c9\n// > <???> @ 0x18017dcd0\n// > <???> @ 0x18017dd04\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f681c\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 FMOD::ChannelControl::getReverbProperties(__int64 a1, unsigned int a2, __int64 a3)\n{\n  int v5; // r14d\n  unsigned int v6; // esi\n  int v7; // ebx\n  int v8; // eax\n  __int64 v10; // [rsp+30h] [rbp-148h] BYREF\n  __int64 v11; // [rsp+38h] [rbp-140h] BYREF\n  _BYTE v12[256]; // [rsp+40h] [rbp-138h] BYREF\n\n  v10 = 0;\n  v5 = a1;\n  v6 = sub_180012360(a1, &v11, &v10);\n  if ( (v6 || (v6 = (*(__int64 (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v11 + 112LL))(v11, a2, a3)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v7 = sub_1800F2EC0(v12, 256, a2);\n    v8 = sub_1800F2F70(&v12[v7]);\n    sub_1800F30A0(&v12[v8 + v7], (unsigned int)(256 - (v8 + v7)), a3);\n    sub_1800B20E0(v6, 4, v5, (unsigned int)\"ChannelControl::getReverbProperties\", (__int64)v12);\n  }\n  if ( v10 )\n    sub_180102320();\n  return v6;\n}", "assembly": "; \n; FMOD::ChannelControl::getReverbProperties from 0x18000c020 to 0x18000c150 (304 bytes)\n; \n; 6 xrefs:\n; > FMOD_ChannelGroup_GetReverbProperties @ 0x1800c50e9\n; > FMOD_Channel_GetReverbProperties @ 0x1800c56c9\n; > <???> @ 0x18017dcd0\n; > <???> @ 0x18017dd04\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f681c\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     r11, rsp                                                       ; +0x0, 0x18000c020\npush    rsi                                                            ; +0x3, 0x18000c023\nsub     rsp, 170h                                                      ; +0x4, 0x18000c024\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x18000c02b\nxor     rax, rsp                                                       ; +0x12, 0x18000c032\nmov     [rsp+178h+var_38], rax                                         ; +0x15, 0x18000c035\nmov     [r11-10h], rbx                                                 ; +0x1d, 0x18000c03d\nmov     ebx, edx                                                       ; +0x21, 0x18000c041\nmov     [r11-18h], rbp                                                 ; +0x23, 0x18000c043\nlea     rdx, [rsp+178h+var_140]                                        ; +0x27, 0x18000c047\nmov     rbp, r8                                                        ; +0x2c, 0x18000c04c\nmov     [r11-28h], r14                                                 ; +0x2f, 0x18000c04f\nlea     r8, [rsp+178h+var_148]                                         ; +0x33, 0x18000c053\nmov     [rsp+178h+var_148], 0                                          ; +0x38, 0x18000c058\nmov     r14, rcx                                                       ; +0x41, 0x18000c061\ncall    sub_180012360                                                  ; +0x44, 0x18000c064\nmov     esi, eax                                                       ; +0x49, 0x18000c069\ntest    eax, eax                                                       ; +0x4b, 0x18000c06b\njnz     short loc_18000C089                                            ; +0x4d, 0x18000c06d\nmov     rcx, [rsp+178h+var_140]                                        ; +0x4f, 0x18000c06f\nmov     r8, rbp                                                        ; +0x54, 0x18000c074\nmov     edx, ebx                                                       ; +0x57, 0x18000c077\nmov     rax, [rcx]                                                     ; +0x59, 0x18000c079\ncall    qword ptr [rax+70h]                                            ; +0x5c, 0x18000c07c\nmov     esi, eax                                                       ; +0x5f, 0x18000c07f\ntest    eax, eax                                                       ; +0x61, 0x18000c081\njz      loc_18000C10E                                                  ; +0x63, 0x18000c083\nmov     rax, cs:off_1801AED20                                          ; +0x69, 0x18000c089\ntest    byte ptr [rax+10h], 80h                                        ; +0x70, 0x18000c090\njz      short loc_18000C10E                                            ; +0x74, 0x18000c094\nmov     [rsp+178h+var_20], rdi                                         ; +0x76, 0x18000c096\nlea     rcx, [rsp+178h+var_138]                                        ; +0x7e, 0x18000c09e\nmov     edi, 100h                                                      ; +0x83, 0x18000c0a3\nmov     r8d, ebx                                                       ; +0x88, 0x18000c0a8\nmov     edx, edi                                                       ; +0x8b, 0x18000c0ab\ncall    sub_1800F2EC0                                                  ; +0x8d, 0x18000c0ad\nmovsxd  rbx, eax                                                       ; +0x92, 0x18000c0b2\nlea     rcx, [rsp+178h+var_138]                                        ; +0x95, 0x18000c0b5\nmov     edx, edi                                                       ; +0x9a, 0x18000c0ba\nlea     r8, asc_18014572C; \", \"                                        ; +0x9c, 0x18000c0bc\nsub     edx, ebx                                                       ; +0xa3, 0x18000c0c3\nadd     rcx, rbx; void *                                               ; +0xa5, 0x18000c0c5\ncall    sub_1800F2F70                                                  ; +0xa8, 0x18000c0c8\nadd     ebx, eax                                                       ; +0xad, 0x18000c0cd\nlea     rcx, [rsp+178h+var_138]                                        ; +0xaf, 0x18000c0cf\nmovsxd  rax, ebx                                                       ; +0xb4, 0x18000c0d4\nsub     edi, ebx                                                       ; +0xb7, 0x18000c0d7\nadd     rcx, rax                                                       ; +0xb9, 0x18000c0d9\nmov     edx, edi                                                       ; +0xbc, 0x18000c0dc\nmov     r8, rbp                                                        ; +0xbe, 0x18000c0de\ncall    sub_1800F30A0                                                  ; +0xc1, 0x18000c0e1\nlea     rax, [rsp+178h+var_138]                                        ; +0xc6, 0x18000c0e6\nmov     r8, r14                                                        ; +0xcb, 0x18000c0eb\nlea     r9, aChannelcontrol_24; \"ChannelControl::getReverbProperties\"  ; +0xce, 0x18000c0ee\nmov     [rsp+178h+var_158], rax                                        ; +0xd5, 0x18000c0f5\nmov     edx, 4                                                         ; +0xda, 0x18000c0fa\nmov     ecx, esi                                                       ; +0xdf, 0x18000c0ff\ncall    sub_1800B20E0                                                  ; +0xe1, 0x18000c101\nmov     rdi, [rsp+178h+var_20]                                         ; +0xe6, 0x18000c106\nmov     rcx, [rsp+178h+var_148]                                        ; +0xee, 0x18000c10e\nmov     r14, [rsp+178h+var_28]                                         ; +0xf3, 0x18000c113\nmov     rbp, [rsp+178h+var_18]                                         ; +0xfb, 0x18000c11b\nmov     rbx, [rsp+178h+var_10]                                         ; +0x103, 0x18000c123\ntest    rcx, rcx                                                       ; +0x10b, 0x18000c12b\njz      short loc_18000C135                                            ; +0x10e, 0x18000c12e\ncall    sub_180102320                                                  ; +0x110, 0x18000c130\nmov     eax, esi                                                       ; +0x115, 0x18000c135\nmov     rcx, [rsp+178h+var_38]                                         ; +0x117, 0x18000c137\nxor     rcx, rsp; StackCookie                                          ; +0x11f, 0x18000c13f\ncall    __security_check_cookie                                        ; +0x122, 0x18000c142\nadd     rsp, 170h                                                      ; +0x127, 0x18000c147\npop     rsi                                                            ; +0x12e, 0x18000c14e\nretn                                                                   ; +0x12f, 0x18000c14f", "xrefs": ["FMOD_ChannelGroup_GetReverbProperties @ 0x1800c50e9", "FMOD_Channel_GetReverbProperties @ 0x1800c56c9", "<???> @ 0x18017dcd0", "<???> @ 0x18017dd04", "<???> @ 0x180194348", "<???> @ 0x1801f681c"], "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"}