{"type": "func", "start": 6443156704, "end": 6443157009, "name": "FMOD::System::createSoundGroup", "pseudocode": "// \n// FMOD::System::createSoundGroup from 0x1800ac4e0 to 0x1800ac611 (305 bytes)\n// \n// 5 xrefs:\n// > FMOD_System_CreateSoundGroup @ 0x1800c6a09\n// > <???> @ 0x180188970\n// > <???> @ 0x1801889a4\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc1bc\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::createSoundGroup(__int64 a1, __int64 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_1800E37E0(v11, a2, a3)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v7 = sub_1800F2F70(v12);\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::createSoundGroup\", (__int64)v12);\n  }\n  if ( v10 )\n    sub_180102320(v10);\n  return v6;\n}", "assembly": "; \n; FMOD::System::createSoundGroup from 0x1800ac4e0 to 0x1800ac611 (305 bytes)\n; \n; 5 xrefs:\n; > FMOD_System_CreateSoundGroup @ 0x1800c6a09\n; > <???> @ 0x180188970\n; > <???> @ 0x1801889a4\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc1bc\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, 0x1800ac4e0\npush    rsi                                                            ; +0x3, 0x1800ac4e3\nsub     rsp, 170h                                                      ; +0x4, 0x1800ac4e4\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1800ac4eb\nxor     rax, rsp                                                       ; +0x12, 0x1800ac4f2\nmov     [rsp+178h+var_38], rax                                         ; +0x15, 0x1800ac4f5\nmov     [r11-10h], rbx                                                 ; +0x1d, 0x1800ac4fd\nmov     rbx, rdx                                                       ; +0x21, 0x1800ac501\nmov     [r11-18h], rbp                                                 ; +0x24, 0x1800ac504\nlea     rdx, [rsp+178h+var_140]                                        ; +0x28, 0x1800ac508\nmov     rbp, r8                                                        ; +0x2d, 0x1800ac50d\nmov     [r11-28h], r14                                                 ; +0x30, 0x1800ac510\nlea     r8, [rsp+178h+var_148]                                         ; +0x34, 0x1800ac514\nmov     [rsp+178h+var_148], 0                                          ; +0x39, 0x1800ac519\nmov     r14, rcx                                                       ; +0x42, 0x1800ac522\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x45, 0x1800ac525\nmov     esi, eax                                                       ; +0x4a, 0x1800ac52a\ntest    eax, eax                                                       ; +0x4c, 0x1800ac52c\njnz     short loc_1800AC54A                                            ; +0x4e, 0x1800ac52e\nmov     rcx, [rsp+178h+var_140]                                        ; +0x50, 0x1800ac530\nmov     r8, rbp                                                        ; +0x55, 0x1800ac535\nmov     rdx, rbx                                                       ; +0x58, 0x1800ac538\ncall    sub_1800E37E0                                                  ; +0x5b, 0x1800ac53b\nmov     esi, eax                                                       ; +0x60, 0x1800ac540\ntest    eax, eax                                                       ; +0x62, 0x1800ac542\njz      loc_1800AC5CF                                                  ; +0x64, 0x1800ac544\nmov     rax, cs:off_1801AED20                                          ; +0x6a, 0x1800ac54a\ntest    byte ptr [rax+10h], 80h                                        ; +0x71, 0x1800ac551\njz      short loc_1800AC5CF                                            ; +0x75, 0x1800ac555\nmov     [rsp+178h+var_20], rdi                                         ; +0x77, 0x1800ac557\nlea     rcx, [rsp+178h+var_138]; void *                                ; +0x7f, 0x1800ac55f\nmov     edi, 100h                                                      ; +0x84, 0x1800ac564\nmov     r8, rbx                                                        ; +0x89, 0x1800ac569\nmov     edx, edi                                                       ; +0x8c, 0x1800ac56c\ncall    sub_1800F2F70                                                  ; +0x8e, 0x1800ac56e\nmovsxd  rbx, eax                                                       ; +0x93, 0x1800ac573\nlea     rcx, [rsp+178h+var_138]                                        ; +0x96, 0x1800ac576\nmov     edx, edi                                                       ; +0x9b, 0x1800ac57b\nlea     r8, asc_18014572C; \", \"                                        ; +0x9d, 0x1800ac57d\nsub     edx, ebx                                                       ; +0xa4, 0x1800ac584\nadd     rcx, rbx; void *                                               ; +0xa6, 0x1800ac586\ncall    sub_1800F2F70                                                  ; +0xa9, 0x1800ac589\nadd     ebx, eax                                                       ; +0xae, 0x1800ac58e\nlea     rcx, [rsp+178h+var_138]                                        ; +0xb0, 0x1800ac590\nmovsxd  rax, ebx                                                       ; +0xb5, 0x1800ac595\nsub     edi, ebx                                                       ; +0xb8, 0x1800ac598\nadd     rcx, rax                                                       ; +0xba, 0x1800ac59a\nmov     edx, edi                                                       ; +0xbd, 0x1800ac59d\nmov     r8, rbp                                                        ; +0xbf, 0x1800ac59f\ncall    sub_1800F3230                                                  ; +0xc2, 0x1800ac5a2\nlea     rax, [rsp+178h+var_138]                                        ; +0xc7, 0x1800ac5a7\nmov     r8, r14                                                        ; +0xcc, 0x1800ac5ac\nlea     r9, aSystemCreateso_0; \"System::createSoundGroup\"              ; +0xcf, 0x1800ac5af\nmov     [rsp+178h+var_158], rax                                        ; +0xd6, 0x1800ac5b6\nmov     edx, 1                                                         ; +0xdb, 0x1800ac5bb\nmov     ecx, esi                                                       ; +0xe0, 0x1800ac5c0\ncall    sub_1800B20E0                                                  ; +0xe2, 0x1800ac5c2\nmov     rdi, [rsp+178h+var_20]                                         ; +0xe7, 0x1800ac5c7\nmov     rcx, [rsp+178h+var_148]                                        ; +0xef, 0x1800ac5cf\nmov     r14, [rsp+178h+var_28]                                         ; +0xf4, 0x1800ac5d4\nmov     rbp, [rsp+178h+var_18]                                         ; +0xfc, 0x1800ac5dc\nmov     rbx, [rsp+178h+var_10]                                         ; +0x104, 0x1800ac5e4\ntest    rcx, rcx                                                       ; +0x10c, 0x1800ac5ec\njz      short loc_1800AC5F6                                            ; +0x10f, 0x1800ac5ef\ncall    sub_180102320                                                  ; +0x111, 0x1800ac5f1\nmov     eax, esi                                                       ; +0x116, 0x1800ac5f6\nmov     rcx, [rsp+178h+var_38]                                         ; +0x118, 0x1800ac5f8\nxor     rcx, rsp; StackCookie                                          ; +0x120, 0x1800ac600\ncall    __security_check_cookie                                        ; +0x123, 0x1800ac603\nadd     rsp, 170h                                                      ; +0x128, 0x1800ac608\npop     rsi                                                            ; +0x12f, 0x1800ac60f\nretn                                                                   ; +0x130, 0x1800ac610", "xrefs": ["FMOD_System_CreateSoundGroup @ 0x1800c6a09", "<???> @ 0x180188970", "<???> @ 0x1801889a4", "<???> @ 0x180194348", "<???> @ 0x1801fc1bc"], "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"}