{"type": "func", "start": 6443148576, "end": 6443148784, "name": "FMOD::SoundGroup::getMaxAudible", "pseudocode": "// \n// FMOD::SoundGroup::getMaxAudible from 0x1800aa520 to 0x1800aa5f0 (208 bytes)\n// \n// 3 xrefs:\n// > FMOD_SoundGroup_GetMaxAudible @ 0x1800c6419\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fbe98\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::getMaxAudible(__int64 a1, __int64 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v7; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v8[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v6 = 0;\n  v3 = a1;\n  v4 = sub_1800DE200(a1, &v7, &v6);\n  if ( (v4 || (v4 = sub_1800DDA10(v7, a2)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F3020(v8, 256, a2);\n    sub_1800B20E0(v4, 6, v3, (unsigned int)\"SoundGroup::getMaxAudible\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320(v6);\n  return v4;\n}", "assembly": "; \n; FMOD::SoundGroup::getMaxAudible from 0x1800aa520 to 0x1800aa5f0 (208 bytes)\n; \n; 3 xrefs:\n; > FMOD_SoundGroup_GetMaxAudible @ 0x1800c6419\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fbe98\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, 0x1800aa520\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800aa525\npush    rdi                                                            ; +0xa, 0x1800aa52a\nsub     rsp, 150h                                                      ; +0xb, 0x1800aa52b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800aa532\nxor     rax, rsp                                                       ; +0x19, 0x1800aa539\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800aa53c\nmov     rdi, rdx                                                       ; +0x24, 0x1800aa544\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x1800aa547\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x1800aa550\nmov     rsi, rcx                                                       ; +0x35, 0x1800aa555\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x1800aa558\ncall    sub_1800DE200                                                  ; +0x3d, 0x1800aa55d\nmov     ebx, eax                                                       ; +0x42, 0x1800aa562\ntest    eax, eax                                                       ; +0x44, 0x1800aa564\njnz     short loc_1800AA57B                                            ; +0x46, 0x1800aa566\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x1800aa568\nmov     rdx, rdi                                                       ; +0x4d, 0x1800aa56d\ncall    sub_1800DDA10                                                  ; +0x50, 0x1800aa570\nmov     ebx, eax                                                       ; +0x55, 0x1800aa575\ntest    eax, eax                                                       ; +0x57, 0x1800aa577\njz      short loc_1800AA5BA                                            ; +0x59, 0x1800aa579\nmov     rax, cs:off_1801AED20                                          ; +0x5b, 0x1800aa57b\ntest    byte ptr [rax+10h], 80h                                        ; +0x62, 0x1800aa582\njz      short loc_1800AA5BA                                            ; +0x66, 0x1800aa586\nmov     r8, rdi                                                        ; +0x68, 0x1800aa588\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6b, 0x1800aa58b\nmov     edx, 100h                                                      ; +0x70, 0x1800aa590\ncall    sub_1800F3020                                                  ; +0x75, 0x1800aa595\nlea     rax, [rsp+158h+var_118]                                        ; +0x7a, 0x1800aa59a\nmov     r8, rsi                                                        ; +0x7f, 0x1800aa59f\nlea     r9, aSoundgroupGetm; \"SoundGroup::getMaxAudible\"               ; +0x82, 0x1800aa5a2\nmov     [rsp+158h+var_138], rax                                        ; +0x89, 0x1800aa5a9\nmov     edx, 6                                                         ; +0x8e, 0x1800aa5ae\nmov     ecx, ebx                                                       ; +0x93, 0x1800aa5b3\ncall    sub_1800B20E0                                                  ; +0x95, 0x1800aa5b5\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9a, 0x1800aa5ba\ntest    rcx, rcx                                                       ; +0x9f, 0x1800aa5bf\njz      short loc_1800AA5C9                                            ; +0xa2, 0x1800aa5c2\ncall    sub_180102320                                                  ; +0xa4, 0x1800aa5c4\nmov     eax, ebx                                                       ; +0xa9, 0x1800aa5c9\nmov     rcx, [rsp+158h+var_18]                                         ; +0xab, 0x1800aa5cb\nxor     rcx, rsp; StackCookie                                          ; +0xb3, 0x1800aa5d3\ncall    __security_check_cookie                                        ; +0xb6, 0x1800aa5d6\nlea     r11, [rsp+158h+var_8]                                          ; +0xbb, 0x1800aa5db\nmov     rbx, [r11+20h]                                                 ; +0xc3, 0x1800aa5e3\nmov     rsi, [r11+28h]                                                 ; +0xc7, 0x1800aa5e7\nmov     rsp, r11                                                       ; +0xcb, 0x1800aa5eb\npop     rdi                                                            ; +0xce, 0x1800aa5ee\nretn                                                                   ; +0xcf, 0x1800aa5ef", "xrefs": ["FMOD_SoundGroup_GetMaxAudible @ 0x1800c6419", "<???> @ 0x180194348", "<???> @ 0x1801fbe98"], "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"}