{"type": "func", "start": 6443140336, "end": 6443140562, "name": "FMOD::Sound::getSoundGroup", "pseudocode": "// \n// FMOD::Sound::getSoundGroup from 0x1800a84f0 to 0x1800a85d2 (226 bytes)\n// \n// 3 xrefs:\n// > FMOD_Sound_GetSoundGroup @ 0x1800c66a9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fbb38\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::Sound::getSoundGroup(__int64 a1, __int64 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 result; // rax\n  _DWORD *v6; // [rsp+30h] [rbp-128h] BYREF\n  _BYTE v7[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v3 = a1;\n  v4 = sub_1800E1460(a1, &v6, 0);\n  if ( !v4 )\n  {\n    if ( !v6[68] || v6[68] == 7 )\n    {\n      result = (*(__int64 (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v6 + 224LL))(v6, a2);\n      v4 = result;\n      if ( !(_DWORD)result )\n        return result;\n    }\n    else\n    {\n      v4 = 46;\n    }\n  }\n  if ( *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F3230(v7, 256, a2);\n    sub_1800B20E0(v4, 5, v3, (unsigned int)\"Sound::getSoundGroup\", (__int64)v7);\n  }\n  return v4;\n}", "assembly": "; \n; FMOD::Sound::getSoundGroup from 0x1800a84f0 to 0x1800a85d2 (226 bytes)\n; \n; 3 xrefs:\n; > FMOD_Sound_GetSoundGroup @ 0x1800c66a9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fbb38\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, 0x1800a84f0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800a84f5\npush    rdi                                                            ; +0xa, 0x1800a84fa\nsub     rsp, 150h                                                      ; +0xb, 0x1800a84fb\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800a8502\nxor     rax, rsp                                                       ; +0x19, 0x1800a8509\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800a850c\nmov     rdi, rdx                                                       ; +0x24, 0x1800a8514\nxor     r8d, r8d                                                       ; +0x27, 0x1800a8517\nlea     rdx, [rsp+158h+var_128]                                        ; +0x2a, 0x1800a851a\nmov     rsi, rcx                                                       ; +0x2f, 0x1800a851f\ncall    sub_1800E1460                                                  ; +0x32, 0x1800a8522\nmov     ebx, eax                                                       ; +0x37, 0x1800a8527\ntest    eax, eax                                                       ; +0x39, 0x1800a8529\njnz     short loc_1800A8553                                            ; +0x3b, 0x1800a852b\nmov     rax, [rsp+158h+var_128]                                        ; +0x3d, 0x1800a852d\nmov     ecx, [rax+110h]                                                ; +0x42, 0x1800a8532\nnop                                                                    ; +0x48, 0x1800a8538\ntest    ecx, ecx                                                       ; +0x49, 0x1800a8539\njz      short loc_1800A85B9                                            ; +0x4b, 0x1800a853b\nmov     rax, [rsp+158h+var_128]                                        ; +0x4d, 0x1800a853d\nmov     ecx, [rax+110h]                                                ; +0x52, 0x1800a8542\nnop                                                                    ; +0x58, 0x1800a8548\ncmp     ecx, 7                                                         ; +0x59, 0x1800a8549\njz      short loc_1800A85B9                                            ; +0x5c, 0x1800a854c\nmov     ebx, 2Eh ; '.'                                                 ; +0x5e, 0x1800a854e\nmov     rax, cs:off_1801AED20                                          ; +0x63, 0x1800a8553\ntest    byte ptr [rax+10h], 80h                                        ; +0x6a, 0x1800a855a\njz      short loc_1800A8592                                            ; +0x6e, 0x1800a855e\nmov     r8, rdi                                                        ; +0x70, 0x1800a8560\nlea     rcx, [rsp+158h+var_118]                                        ; +0x73, 0x1800a8563\nmov     edx, 100h                                                      ; +0x78, 0x1800a8568\ncall    sub_1800F3230                                                  ; +0x7d, 0x1800a856d\nlea     rax, [rsp+158h+var_118]                                        ; +0x82, 0x1800a8572\nmov     r8, rsi                                                        ; +0x87, 0x1800a8577\nlea     r9, aSoundGetsoundg; \"Sound::getSoundGroup\"                    ; +0x8a, 0x1800a857a\nmov     [rsp+158h+var_138], rax                                        ; +0x91, 0x1800a8581\nmov     edx, 5                                                         ; +0x96, 0x1800a8586\nmov     ecx, ebx                                                       ; +0x9b, 0x1800a858b\ncall    sub_1800B20E0                                                  ; +0x9d, 0x1800a858d\nmov     eax, ebx                                                       ; +0xa2, 0x1800a8592\nmov     rcx, [rsp+158h+var_18]                                         ; +0xa4, 0x1800a8594\nxor     rcx, rsp; StackCookie                                          ; +0xac, 0x1800a859c\ncall    __security_check_cookie                                        ; +0xaf, 0x1800a859f\nlea     r11, [rsp+158h+var_8]                                          ; +0xb4, 0x1800a85a4\nmov     rbx, [r11+20h]                                                 ; +0xbc, 0x1800a85ac\nmov     rsi, [r11+28h]                                                 ; +0xc0, 0x1800a85b0\nmov     rsp, r11                                                       ; +0xc4, 0x1800a85b4\npop     rdi                                                            ; +0xc7, 0x1800a85b7\nretn                                                                   ; +0xc8, 0x1800a85b8\nmov     rcx, [rsp+158h+var_128]                                        ; +0xc9, 0x1800a85b9\nmov     rdx, rdi                                                       ; +0xce, 0x1800a85be\nmov     rax, [rcx]                                                     ; +0xd1, 0x1800a85c1\ncall    qword ptr [rax+0E0h]                                           ; +0xd4, 0x1800a85c4\nmov     ebx, eax                                                       ; +0xda, 0x1800a85ca\ntest    eax, eax                                                       ; +0xdc, 0x1800a85cc\njnz     short loc_1800A8553                                            ; +0xde, 0x1800a85ce\njmp     short loc_1800A8594                                            ; +0xe0, 0x1800a85d0", "xrefs": ["FMOD_Sound_GetSoundGroup @ 0x1800c66a9", "<???> @ 0x180194348", "<???> @ 0x1801fbb38"], "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"}