{"type": "func", "start": 6443384736, "end": 6443384791, "name": "sub_1800E3FA0", "pseudocode": "// \n// sub_1800E3FA0 from 0x1800e3fa0 to 0x1800e3fd7 (55 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getChannel @ 0x1800ace29\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_1800E3FA0(__int64 a1, int a2, __int64 *a3)\n{\n  if ( !a3 || a2 < 0 || a2 >= *(_DWORD *)(a1 + 480) )\n    return 31;\n  *a3 = ((a2 & 0xFFFu | (*(_DWORD *)(a1 + 69808) << 12)) << 17) | 0x1FFFFLL;\n  return 0;\n}", "assembly": "; \n; sub_1800E3FA0 from 0x1800e3fa0 to 0x1800e3fd7 (55 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getChannel @ 0x1800ace29\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    r8, r8                                                         ; +0x0, 0x1800e3fa0\njz      short loc_1800E3FD1                                            ; +0x3, 0x1800e3fa3\ntest    edx, edx                                                       ; +0x5, 0x1800e3fa5\njs      short loc_1800E3FD1                                            ; +0x7, 0x1800e3fa7\ncmp     edx, [rcx+1E0h]                                                ; +0x9, 0x1800e3fa9\njge     short loc_1800E3FD1                                            ; +0xf, 0x1800e3faf\nmov     eax, [rcx+110B0h]                                              ; +0x11, 0x1800e3fb1\nand     edx, 0FFFh                                                     ; +0x17, 0x1800e3fb7\nshl     eax, 0Ch                                                       ; +0x1d, 0x1800e3fbd\nor      eax, edx                                                       ; +0x20, 0x1800e3fc0\nshl     eax, 11h                                                       ; +0x22, 0x1800e3fc2\nor      rax, 1FFFFh                                                    ; +0x25, 0x1800e3fc5\nmov     [r8], rax                                                      ; +0x2b, 0x1800e3fcb\nxor     eax, eax                                                       ; +0x2e, 0x1800e3fce\nretn                                                                   ; +0x30, 0x1800e3fd0\nmov     eax, 1Fh                                                       ; +0x31, 0x1800e3fd1\nretn                                                                   ; +0x36, 0x1800e3fd6", "xrefs": ["FMOD::System::getChannel @ 0x1800ace29"], "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"}