{"type": "func", "start": 6443088992, "end": 6443089076, "name": "sub_18009BC60", "pseudocode": "// \n// sub_18009BC60 from 0x18009bc60 to 0x18009bcb4 (84 bytes)\n// \n// 6 xrefs:\n// > sub_180055C80 @ 0x180055cd3\n// > sub_180070340 @ 0x1800704e0\n// > FMOD::DSP::setParameterBool @ 0x1800a3b56\n// > sub_1800E98E0 @ 0x1800e99b6\n// > sub_1800F1E90 @ 0x1800f1ef1\n// > sub_18010A4A0 @ 0x18010a525\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:53:50 +0000\n// \n\n__int64 __fastcall sub_18009BC60(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  __int64 v3; // r9\n\n  if ( (int)a2 < 0 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 232);\n  if ( !v3 || (int)a2 >= *(_DWORD *)(v3 + 96) )\n    return 31;\n  if ( !*(_QWORD *)(v3 + 128) )\n    return 68;\n  if ( **(_DWORD **)(*(_QWORD *)(v3 + 104) + 8LL * (int)a2) != 2 )\n    return 31;\n  *(_QWORD *)(a1 + 176) = a1;\n  return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(v3 + 128))(a1 + 176, a2, a3);\n}", "assembly": "; \n; sub_18009BC60 from 0x18009bc60 to 0x18009bcb4 (84 bytes)\n; \n; 6 xrefs:\n; > sub_180055C80 @ 0x180055cd3\n; > sub_180070340 @ 0x1800704e0\n; > FMOD::DSP::setParameterBool @ 0x1800a3b56\n; > sub_1800E98E0 @ 0x1800e99b6\n; > sub_1800F1E90 @ 0x1800f1ef1\n; > sub_18010A4A0 @ 0x18010a525\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:53:50 +0000\n; \nmov     r10, rcx                                                       ; +0x0, 0x18009bc60\ntest    edx, edx                                                       ; +0x3, 0x18009bc63\njs      short loc_18009BCAE                                            ; +0x5, 0x18009bc65\nmov     r9, [rcx+0E8h]                                                 ; +0x7, 0x18009bc67\ntest    r9, r9                                                         ; +0xe, 0x18009bc6e\njz      short loc_18009BCAE                                            ; +0x11, 0x18009bc71\ncmp     edx, [r9+60h]                                                  ; +0x13, 0x18009bc73\njge     short loc_18009BCAE                                            ; +0x17, 0x18009bc77\ncmp     qword ptr [r9+80h], 0                                          ; +0x19, 0x18009bc79\njnz     short loc_18009BC89                                            ; +0x21, 0x18009bc81\nmov     eax, 44h ; 'D'                                                 ; +0x23, 0x18009bc83\nretn                                                                   ; +0x28, 0x18009bc88\nmov     rax, [r9+68h]                                                  ; +0x29, 0x18009bc89\nmovsxd  rcx, edx                                                       ; +0x2d, 0x18009bc8d\nmov     rcx, [rax+rcx*8]                                               ; +0x30, 0x18009bc90\ncmp     dword ptr [rcx], 2                                             ; +0x34, 0x18009bc94\njnz     short loc_18009BCAE                                            ; +0x37, 0x18009bc97\nlea     rcx, [r10+0B0h]                                                ; +0x39, 0x18009bc99\nmovzx   r8d, r8b                                                       ; +0x40, 0x18009bca0\nmov     [rcx], r10                                                     ; +0x44, 0x18009bca4\njmp     qword ptr [r9+80h]                                             ; +0x47, 0x18009bca7\nmov     eax, 1Fh                                                       ; +0x4e, 0x18009bcae\nretn                                                                   ; +0x53, 0x18009bcb3", "xrefs": ["sub_180055C80 @ 0x180055cd3", "sub_180070340 @ 0x1800704e0", "FMOD::DSP::setParameterBool @ 0x1800a3b56", "sub_1800E98E0 @ 0x1800e99b6", "sub_1800F1E90 @ 0x1800f1ef1", "sub_18010A4A0 @ 0x18010a525"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}