{"type": "func", "start": 6443151904, "end": 6443152119, "name": "FMOD::SoundGroup::setVolume", "pseudocode": "// \n// FMOD::SoundGroup::setVolume from 0x1800ab220 to 0x1800ab2f7 (215 bytes)\n// \n// 4 xrefs:\n// > FMOD_SoundGroup_SetVolume @ 0x1800c6509\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fbfa0\n// > <???> @ 0x1801fbfac\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::SoundGroup::setVolume(__int64 a1)\n{\n  int v1; // edi\n  unsigned int v2; // ebx\n  __int64 v4; // [rsp+30h] [rbp-138h] BYREF\n  __int64 v5; // [rsp+38h] [rbp-130h] BYREF\n  _BYTE v6[256]; // [rsp+40h] [rbp-128h] BYREF\n\n  v4 = 0;\n  v1 = a1;\n  v2 = sub_1800DE200(a1, &v5, &v4);\n  if ( (v2 || (v2 = sub_1800DE070(v5)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F2F20(v6, 256);\n    sub_1800B20E0(v2, 6, v1, (unsigned int)\"SoundGroup::setVolume\", (__int64)v6);\n  }\n  if ( v4 )\n    sub_180102320(v4);\n  return v2;\n}", "assembly": "; \n; FMOD::SoundGroup::setVolume from 0x1800ab220 to 0x1800ab2f7 (215 bytes)\n; \n; 4 xrefs:\n; > FMOD_SoundGroup_SetVolume @ 0x1800c6509\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fbfa0\n; > <???> @ 0x1801fbfac\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_10], rbx                                              ; +0x0, 0x1800ab220\npush    rdi                                                            ; +0x5, 0x1800ab225\nsub     rsp, 160h                                                      ; +0x6, 0x1800ab226\nmovaps  [rsp+168h+var_18], xmm6                                        ; +0xd, 0x1800ab22d\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x1800ab235\nxor     rax, rsp                                                       ; +0x1c, 0x1800ab23c\nmov     [rsp+168h+var_28], rax                                         ; +0x1f, 0x1800ab23f\nlea     r8, [rsp+168h+var_138]                                         ; +0x27, 0x1800ab247\nmov     [rsp+168h+var_138], 0                                          ; +0x2c, 0x1800ab24c\nlea     rdx, [rsp+168h+var_130]                                        ; +0x35, 0x1800ab255\nmovaps  xmm6, xmm1                                                     ; +0x3a, 0x1800ab25a\nmov     rdi, rcx                                                       ; +0x3d, 0x1800ab25d\ncall    sub_1800DE200                                                  ; +0x40, 0x1800ab260\nmov     ebx, eax                                                       ; +0x45, 0x1800ab265\ntest    eax, eax                                                       ; +0x47, 0x1800ab267\njnz     short loc_1800AB27E                                            ; +0x49, 0x1800ab269\nmov     rcx, [rsp+168h+var_130]                                        ; +0x4b, 0x1800ab26b\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x1800ab270\ncall    sub_1800DE070                                                  ; +0x53, 0x1800ab273\nmov     ebx, eax                                                       ; +0x58, 0x1800ab278\ntest    eax, eax                                                       ; +0x5a, 0x1800ab27a\njz      short loc_1800AB2BD                                            ; +0x5c, 0x1800ab27c\nmov     rax, cs:off_1801AED20                                          ; +0x5e, 0x1800ab27e\ntest    byte ptr [rax+10h], 80h                                        ; +0x65, 0x1800ab285\njz      short loc_1800AB2BD                                            ; +0x69, 0x1800ab289\nmovaps  xmm2, xmm6                                                     ; +0x6b, 0x1800ab28b\nlea     rcx, [rsp+168h+var_128]                                        ; +0x6e, 0x1800ab28e\nmov     edx, 100h                                                      ; +0x73, 0x1800ab293\ncall    sub_1800F2F20                                                  ; +0x78, 0x1800ab298\nlea     rax, [rsp+168h+var_128]                                        ; +0x7d, 0x1800ab29d\nmov     r8, rdi                                                        ; +0x82, 0x1800ab2a2\nlea     r9, aSoundgroupSetv; \"SoundGroup::setVolume\"                   ; +0x85, 0x1800ab2a5\nmov     [rsp+168h+var_148], rax                                        ; +0x8c, 0x1800ab2ac\nmov     edx, 6                                                         ; +0x91, 0x1800ab2b1\nmov     ecx, ebx                                                       ; +0x96, 0x1800ab2b6\ncall    sub_1800B20E0                                                  ; +0x98, 0x1800ab2b8\nmov     rcx, [rsp+168h+var_138]                                        ; +0x9d, 0x1800ab2bd\ntest    rcx, rcx                                                       ; +0xa2, 0x1800ab2c2\njz      short loc_1800AB2CC                                            ; +0xa5, 0x1800ab2c5\ncall    sub_180102320                                                  ; +0xa7, 0x1800ab2c7\nmov     eax, ebx                                                       ; +0xac, 0x1800ab2cc\nmov     rcx, [rsp+168h+var_28]                                         ; +0xae, 0x1800ab2ce\nxor     rcx, rsp; StackCookie                                          ; +0xb6, 0x1800ab2d6\ncall    __security_check_cookie                                        ; +0xb9, 0x1800ab2d9\nmov     rbx, [rsp+168h+arg_10]                                         ; +0xbe, 0x1800ab2de\nmovaps  xmm6, [rsp+168h+var_18]                                        ; +0xc6, 0x1800ab2e6\nadd     rsp, 160h                                                      ; +0xce, 0x1800ab2ee\npop     rdi                                                            ; +0xd5, 0x1800ab2f5\nretn                                                                   ; +0xd6, 0x1800ab2f6", "xrefs": ["FMOD_SoundGroup_SetVolume @ 0x1800c6509", "<???> @ 0x180194348", "<???> @ 0x1801fbfa0", "<???> @ 0x1801fbfac"], "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"}