{"type": "func", "start": 6443177840, "end": 6443178143, "name": "FMOD::System::setReverbProperties", "pseudocode": "// \n// FMOD::System::setReverbProperties from 0x1800b1770 to 0x1800b189f (303 bytes)\n// \n// 6 xrefs:\n// > FMOD_System_SetReverbProperties @ 0x1800c6f29\n// > <???> @ 0x180188c4c\n// > <???> @ 0x180188c80\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fcb94\n// > <???> @ 0x1801fcba0\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::System::setReverbProperties(__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 = FMOD::SystemI::validate(a1, &v11, &v10);\n  if ( (v6 || (v6 = sub_1800E76F0(v11, a2, a3)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v7 = sub_1800F2EC0(v12, 256, a2);\n    v8 = sub_1800F2F70(&v12[v7]);\n    sub_1800F3230(&v12[v8 + v7], (unsigned int)(256 - (v8 + v7)), a3);\n    sub_1800B20E0(v6, 1, v5, (unsigned int)\"System::setReverbProperties\", (__int64)v12);\n  }\n  if ( v10 )\n    sub_180102320(v10);\n  return v6;\n}", "assembly": "; \n; FMOD::System::setReverbProperties from 0x1800b1770 to 0x1800b189f (303 bytes)\n; \n; 6 xrefs:\n; > FMOD_System_SetReverbProperties @ 0x1800c6f29\n; > <???> @ 0x180188c4c\n; > <???> @ 0x180188c80\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fcb94\n; > <???> @ 0x1801fcba0\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, 0x1800b1770\npush    rsi                                                            ; +0x3, 0x1800b1773\nsub     rsp, 170h                                                      ; +0x4, 0x1800b1774\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1800b177b\nxor     rax, rsp                                                       ; +0x12, 0x1800b1782\nmov     [rsp+178h+var_38], rax                                         ; +0x15, 0x1800b1785\nmov     [r11-10h], rbx                                                 ; +0x1d, 0x1800b178d\nmov     ebx, edx                                                       ; +0x21, 0x1800b1791\nmov     [r11-18h], rbp                                                 ; +0x23, 0x1800b1793\nlea     rdx, [rsp+178h+var_140]                                        ; +0x27, 0x1800b1797\nmov     rbp, r8                                                        ; +0x2c, 0x1800b179c\nmov     [r11-28h], r14                                                 ; +0x2f, 0x1800b179f\nlea     r8, [rsp+178h+var_148]                                         ; +0x33, 0x1800b17a3\nmov     [rsp+178h+var_148], 0                                          ; +0x38, 0x1800b17a8\nmov     r14, rcx                                                       ; +0x41, 0x1800b17b1\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x44, 0x1800b17b4\nmov     esi, eax                                                       ; +0x49, 0x1800b17b9\ntest    eax, eax                                                       ; +0x4b, 0x1800b17bb\njnz     short loc_1800B17D8                                            ; +0x4d, 0x1800b17bd\nmov     rcx, [rsp+178h+var_140]                                        ; +0x4f, 0x1800b17bf\nmov     r8, rbp                                                        ; +0x54, 0x1800b17c4\nmov     edx, ebx                                                       ; +0x57, 0x1800b17c7\ncall    sub_1800E76F0                                                  ; +0x59, 0x1800b17c9\nmov     esi, eax                                                       ; +0x5e, 0x1800b17ce\ntest    eax, eax                                                       ; +0x60, 0x1800b17d0\njz      loc_1800B185D                                                  ; +0x62, 0x1800b17d2\nmov     rax, cs:off_1801AED20                                          ; +0x68, 0x1800b17d8\ntest    byte ptr [rax+10h], 80h                                        ; +0x6f, 0x1800b17df\njz      short loc_1800B185D                                            ; +0x73, 0x1800b17e3\nmov     [rsp+178h+var_20], rdi                                         ; +0x75, 0x1800b17e5\nlea     rcx, [rsp+178h+var_138]                                        ; +0x7d, 0x1800b17ed\nmov     edi, 100h                                                      ; +0x82, 0x1800b17f2\nmov     r8d, ebx                                                       ; +0x87, 0x1800b17f7\nmov     edx, edi                                                       ; +0x8a, 0x1800b17fa\ncall    sub_1800F2EC0                                                  ; +0x8c, 0x1800b17fc\nmovsxd  rbx, eax                                                       ; +0x91, 0x1800b1801\nlea     rcx, [rsp+178h+var_138]                                        ; +0x94, 0x1800b1804\nmov     edx, edi                                                       ; +0x99, 0x1800b1809\nlea     r8, asc_18014572C; \", \"                                        ; +0x9b, 0x1800b180b\nsub     edx, ebx                                                       ; +0xa2, 0x1800b1812\nadd     rcx, rbx; void *                                               ; +0xa4, 0x1800b1814\ncall    sub_1800F2F70                                                  ; +0xa7, 0x1800b1817\nadd     ebx, eax                                                       ; +0xac, 0x1800b181c\nlea     rcx, [rsp+178h+var_138]                                        ; +0xae, 0x1800b181e\nmovsxd  rax, ebx                                                       ; +0xb3, 0x1800b1823\nsub     edi, ebx                                                       ; +0xb6, 0x1800b1826\nadd     rcx, rax                                                       ; +0xb8, 0x1800b1828\nmov     edx, edi                                                       ; +0xbb, 0x1800b182b\nmov     r8, rbp                                                        ; +0xbd, 0x1800b182d\ncall    sub_1800F3230                                                  ; +0xc0, 0x1800b1830\nlea     rax, [rsp+178h+var_138]                                        ; +0xc5, 0x1800b1835\nmov     r8, r14                                                        ; +0xca, 0x1800b183a\nlea     r9, aSystemSetrever; \"System::setReverbProperties\"             ; +0xcd, 0x1800b183d\nmov     [rsp+178h+var_158], rax                                        ; +0xd4, 0x1800b1844\nmov     edx, 1                                                         ; +0xd9, 0x1800b1849\nmov     ecx, esi                                                       ; +0xde, 0x1800b184e\ncall    sub_1800B20E0                                                  ; +0xe0, 0x1800b1850\nmov     rdi, [rsp+178h+var_20]                                         ; +0xe5, 0x1800b1855\nmov     rcx, [rsp+178h+var_148]                                        ; +0xed, 0x1800b185d\nmov     r14, [rsp+178h+var_28]                                         ; +0xf2, 0x1800b1862\nmov     rbp, [rsp+178h+var_18]                                         ; +0xfa, 0x1800b186a\nmov     rbx, [rsp+178h+var_10]                                         ; +0x102, 0x1800b1872\ntest    rcx, rcx                                                       ; +0x10a, 0x1800b187a\njz      short loc_1800B1884                                            ; +0x10d, 0x1800b187d\ncall    sub_180102320                                                  ; +0x10f, 0x1800b187f\nmov     eax, esi                                                       ; +0x114, 0x1800b1884\nmov     rcx, [rsp+178h+var_38]                                         ; +0x116, 0x1800b1886\nxor     rcx, rsp; StackCookie                                          ; +0x11e, 0x1800b188e\ncall    __security_check_cookie                                        ; +0x121, 0x1800b1891\nadd     rsp, 170h                                                      ; +0x126, 0x1800b1896\npop     rsi                                                            ; +0x12d, 0x1800b189d\nretn                                                                   ; +0x12e, 0x1800b189e", "xrefs": ["FMOD_System_SetReverbProperties @ 0x1800c6f29", "<???> @ 0x180188c4c", "<???> @ 0x180188c80", "<???> @ 0x180194348", "<???> @ 0x1801fcb94", "<???> @ 0x1801fcba0"], "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"}