{"type": "func", "start": 6443073088, "end": 6443073148, "name": "sub_180097E40", "pseudocode": "// \n// sub_180097E40 from 0x180097e40 to 0x180097e7c (60 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::getParameterInfo @ 0x1800a2e24\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 sub_180097E40(__int64 a1, int a2, _QWORD *a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // rcx\n\n  if ( a2 < 0 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 232);\n  if ( !v3 || a2 >= *(_DWORD *)(v3 + 96) || !a3 )\n    return 31;\n  v4 = *(_QWORD *)(v3 + 104);\n  if ( !v4 )\n    return 53;\n  *a3 = *(_QWORD *)(v4 + 8LL * a2);\n  return 0;\n}", "assembly": "; \n; sub_180097E40 from 0x180097e40 to 0x180097e7c (60 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::getParameterInfo @ 0x1800a2e24\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\ntest    edx, edx                                                       ; +0x0, 0x180097e40\njs      short loc_180097E76                                            ; +0x2, 0x180097e42\nmov     rax, [rcx+0E8h]                                                ; +0x4, 0x180097e44\ntest    rax, rax                                                       ; +0xb, 0x180097e4b\njz      short loc_180097E76                                            ; +0xe, 0x180097e4e\ncmp     edx, [rax+60h]                                                 ; +0x10, 0x180097e50\njge     short loc_180097E76                                            ; +0x13, 0x180097e53\ntest    r8, r8                                                         ; +0x15, 0x180097e55\njz      short loc_180097E76                                            ; +0x18, 0x180097e58\nmov     rcx, [rax+68h]                                                 ; +0x1a, 0x180097e5a\ntest    rcx, rcx                                                       ; +0x1e, 0x180097e5e\njz      short loc_180097E70                                            ; +0x21, 0x180097e61\nmovsxd  rax, edx                                                       ; +0x23, 0x180097e63\nmov     rcx, [rcx+rax*8]                                               ; +0x26, 0x180097e66\nxor     eax, eax                                                       ; +0x2a, 0x180097e6a\nmov     [r8], rcx                                                      ; +0x2c, 0x180097e6c\nretn                                                                   ; +0x2f, 0x180097e6f\nmov     eax, 35h ; '5'                                                 ; +0x30, 0x180097e70\nretn                                                                   ; +0x35, 0x180097e75\nmov     eax, 1Fh                                                       ; +0x36, 0x180097e76\nretn                                                                   ; +0x3b, 0x180097e7b", "xrefs": ["FMOD::DSP::getParameterInfo @ 0x1800a2e24"], "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"}