{"type": "func", "start": 6443162192, "end": 6443162374, "name": "FMOD::System::getMasterChannelGroup", "pseudocode": "// \n// FMOD::System::getMasterChannelGroup from 0x1800ada50 to 0x1800adb06 (182 bytes)\n// \n// 4 xrefs:\n// > FMOD_System_GetMasterChannelGroup @ 0x1800c6b39\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc444\n// > <???> @ 0x1801fc450\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::getMasterChannelGroup(__int64 a1, __int64 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 result; // rax\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  _BYTE v7[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v3 = a1;\n  v4 = FMOD::SystemI::validate(a1, &v6, 0);\n  if ( v4 || (result = sub_1800E4420(v6, a2), (v4 = result) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      sub_1800F3230(v7, 256, a2);\n      sub_1800B20E0(v4, 1, v3, (unsigned int)\"System::getMasterChannelGroup\", (__int64)v7);\n    }\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; FMOD::System::getMasterChannelGroup from 0x1800ada50 to 0x1800adb06 (182 bytes)\n; \n; 4 xrefs:\n; > FMOD_System_GetMasterChannelGroup @ 0x1800c6b39\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc444\n; > <???> @ 0x1801fc450\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, 0x1800ada50\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800ada55\npush    rdi                                                            ; +0xa, 0x1800ada5a\nsub     rsp, 150h                                                      ; +0xb, 0x1800ada5b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800ada62\nxor     rax, rsp                                                       ; +0x19, 0x1800ada69\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800ada6c\nmov     rdi, rdx                                                       ; +0x24, 0x1800ada74\nxor     r8d, r8d                                                       ; +0x27, 0x1800ada77\nlea     rdx, [rsp+158h+var_128]                                        ; +0x2a, 0x1800ada7a\nmov     rsi, rcx                                                       ; +0x2f, 0x1800ada7f\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x32, 0x1800ada82\nmov     ebx, eax                                                       ; +0x37, 0x1800ada87\ntest    eax, eax                                                       ; +0x39, 0x1800ada89\njnz     short loc_1800ADAA0                                            ; +0x3b, 0x1800ada8b\nmov     rcx, [rsp+158h+var_128]                                        ; +0x3d, 0x1800ada8d\nmov     rdx, rdi                                                       ; +0x42, 0x1800ada92\ncall    sub_1800E4420                                                  ; +0x45, 0x1800ada95\nmov     ebx, eax                                                       ; +0x4a, 0x1800ada9a\ntest    eax, eax                                                       ; +0x4c, 0x1800ada9c\njz      short loc_1800ADAE1                                            ; +0x4e, 0x1800ada9e\nmov     rax, cs:off_1801AED20                                          ; +0x50, 0x1800adaa0\ntest    byte ptr [rax+10h], 80h                                        ; +0x57, 0x1800adaa7\njz      short loc_1800ADADF                                            ; +0x5b, 0x1800adaab\nmov     r8, rdi                                                        ; +0x5d, 0x1800adaad\nlea     rcx, [rsp+158h+var_118]                                        ; +0x60, 0x1800adab0\nmov     edx, 100h                                                      ; +0x65, 0x1800adab5\ncall    sub_1800F3230                                                  ; +0x6a, 0x1800adaba\nlea     rax, [rsp+158h+var_118]                                        ; +0x6f, 0x1800adabf\nmov     r8, rsi                                                        ; +0x74, 0x1800adac4\nlea     r9, aSystemGetmaste; \"System::getMasterChannelGroup\"           ; +0x77, 0x1800adac7\nmov     [rsp+158h+var_138], rax                                        ; +0x7e, 0x1800adace\nmov     edx, 1                                                         ; +0x83, 0x1800adad3\nmov     ecx, ebx                                                       ; +0x88, 0x1800adad8\ncall    sub_1800B20E0                                                  ; +0x8a, 0x1800adada\nmov     eax, ebx                                                       ; +0x8f, 0x1800adadf\nmov     rcx, [rsp+158h+var_18]                                         ; +0x91, 0x1800adae1\nxor     rcx, rsp; StackCookie                                          ; +0x99, 0x1800adae9\ncall    __security_check_cookie                                        ; +0x9c, 0x1800adaec\nlea     r11, [rsp+158h+var_8]                                          ; +0xa1, 0x1800adaf1\nmov     rbx, [r11+20h]                                                 ; +0xa9, 0x1800adaf9\nmov     rsi, [r11+28h]                                                 ; +0xad, 0x1800adafd\nmov     rsp, r11                                                       ; +0xb1, 0x1800adb01\npop     rdi                                                            ; +0xb4, 0x1800adb04\nretn                                                                   ; +0xb5, 0x1800adb05", "xrefs": ["FMOD_System_GetMasterChannelGroup @ 0x1800c6b39", "<???> @ 0x180194348", "<???> @ 0x1801fc444", "<???> @ 0x1801fc450"], "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"}