{"type": "func", "start": 6443386768, "end": 6443387121, "name": "sub_1800E4790", "pseudocode": "// \n// sub_1800E4790 from 0x1800e4790 to 0x1800e48f1 (353 bytes)\n// \n// 4 xrefs:\n// > FMOD::System::getPluginInfo @ 0x1800ae715\n// > <???> @ 0x18018d508\n// > <???> @ 0x18018d518\n// > <???> @ 0x1801ffc00\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:54:17 +0000\n// \n\n__int64 __fastcall sub_1800E4790(__int64 a1, int a2, _DWORD *a3, _BYTE *a4, int a5, _DWORD *a6)\n{\n  __int64 result; // rax\n  unsigned int v11; // eax\n  unsigned int v12; // esi\n  unsigned int v13; // eax\n  __int64 v14; // [rsp+20h] [rbp-28h] BYREF\n  _QWORD v15[4]; // [rsp+28h] [rbp-20h] BYREF\n  __int64 v16; // [rsp+50h] [rbp+8h] BYREF\n\n  if ( *(_BYTE *)(a1 + 9) || (result = sub_1800E7B20(), !(_DWORD)result) )\n  {\n    v11 = sub_1800D7DB0(*(_QWORD *)(a1 + 69128), a2, &v16);\n    v12 = v11;\n    if ( v11 )\n    {\n      if ( v11 == 54 )\n      {\n        v13 = sub_1800D7B00(*(_QWORD *)(a1 + 69128), a2, &v14);\n        v12 = v13;\n        if ( v13 )\n        {\n          if ( v13 == 54 )\n          {\n            v12 = sub_1800D7B90(*(_QWORD *)(a1 + 69128), a2, v15);\n            if ( !v12 )\n            {\n              if ( a4 )\n                sub_1800B7D20(a4, (char *)(*(_QWORD *)v15[0] + 4LL), a5);\n              if ( a6 )\n                *a6 = *(_DWORD *)(*(_QWORD *)v15[0] + 36LL);\n              if ( a3 )\n                *a3 = 2;\n            }\n          }\n        }\n        else\n        {\n          if ( a4 )\n            sub_1800B7D20(a4, *(char **)(v14 + 40), a5);\n          if ( a6 )\n            *a6 = *(_DWORD *)(v14 + 48);\n          if ( a3 )\n            *a3 = 1;\n        }\n      }\n    }\n    else\n    {\n      if ( a4 )\n        sub_1800B7D20(a4, *(char **)(v16 + 32), a5);\n      if ( a6 )\n        *a6 = *(_DWORD *)(v16 + 40);\n      if ( a3 )\n        *a3 = 0;\n    }\n    return v12;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E4790 from 0x1800e4790 to 0x1800e48f1 (353 bytes)\n; \n; 4 xrefs:\n; > FMOD::System::getPluginInfo @ 0x1800ae715\n; > <???> @ 0x18018d508\n; > <???> @ 0x18018d518\n; > <???> @ 0x1801ffc00\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:54:17 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800e4790\npush    rbp                                                            ; +0x5, 0x1800e4795\npush    rdi                                                            ; +0x6, 0x1800e4796\npush    r14                                                            ; +0x7, 0x1800e4797\nsub     rsp, 30h                                                       ; +0x9, 0x1800e4799\ncmp     byte ptr [rcx+9], 0                                            ; +0xd, 0x1800e479d\nmov     rdi, r9                                                        ; +0x11, 0x1800e47a1\nmov     rbx, r8                                                        ; +0x14, 0x1800e47a4\nmov     r14d, edx                                                      ; +0x17, 0x1800e47a7\nmov     rbp, rcx                                                       ; +0x1a, 0x1800e47aa\njnz     short loc_1800E47BC                                            ; +0x1d, 0x1800e47ad\ncall    sub_1800E7B20                                                  ; +0x1f, 0x1800e47af\ntest    eax, eax                                                       ; +0x24, 0x1800e47b4\njnz     loc_1800E48E3                                                  ; +0x26, 0x1800e47b6\nmov     rcx, [rbp+10E08h]                                              ; +0x2c, 0x1800e47bc\nlea     r8, [rsp+48h+arg_0]                                            ; +0x33, 0x1800e47c3\nmov     edx, r14d                                                      ; +0x38, 0x1800e47c8\nmov     [rsp+48h+arg_8], rsi                                           ; +0x3b, 0x1800e47cb\ncall    sub_1800D7DB0                                                  ; +0x40, 0x1800e47d0\nmov     esi, eax                                                       ; +0x45, 0x1800e47d5\ntest    eax, eax                                                       ; +0x47, 0x1800e47d7\njnz     short loc_1800E481E                                            ; +0x49, 0x1800e47d9\ntest    rdi, rdi                                                       ; +0x4b, 0x1800e47db\njz      short loc_1800E47F6                                            ; +0x4e, 0x1800e47de\nmov     rdx, [rsp+48h+arg_0]                                           ; +0x50, 0x1800e47e0\nmov     rcx, rdi                                                       ; +0x55, 0x1800e47e5\nmov     r8d, [rsp+48h+arg_20]                                          ; +0x58, 0x1800e47e8\nmov     rdx, [rdx+20h]                                                 ; +0x5d, 0x1800e47ed\ncall    sub_1800B7D20                                                  ; +0x61, 0x1800e47f1\nmov     rdx, [rsp+48h+arg_28]                                          ; +0x66, 0x1800e47f6\ntest    rdx, rdx                                                       ; +0x6b, 0x1800e47fb\njz      short loc_1800E480A                                            ; +0x6e, 0x1800e47fe\nmov     rax, [rsp+48h+arg_0]                                           ; +0x70, 0x1800e4800\nmov     ecx, [rax+28h]                                                 ; +0x75, 0x1800e4805\nmov     [rdx], ecx                                                     ; +0x78, 0x1800e4808\ntest    rbx, rbx                                                       ; +0x7a, 0x1800e480a\njz      loc_1800E48DC                                                  ; +0x7d, 0x1800e480d\nmov     dword ptr [rbx], 0                                             ; +0x83, 0x1800e4813\njmp     loc_1800E48DC                                                  ; +0x89, 0x1800e4819\ncmp     eax, 36h ; '6'                                                 ; +0x8e, 0x1800e481e\njnz     loc_1800E48DC                                                  ; +0x91, 0x1800e4821\nmov     rcx, [rbp+10E08h]                                              ; +0x97, 0x1800e4827\nlea     r8, [rsp+48h+var_28]                                           ; +0x9e, 0x1800e482e\nmov     edx, r14d                                                      ; +0xa3, 0x1800e4833\ncall    sub_1800D7B00                                                  ; +0xa6, 0x1800e4836\nmov     esi, eax                                                       ; +0xab, 0x1800e483b\ntest    eax, eax                                                       ; +0xad, 0x1800e483d\njnz     short loc_1800E487D                                            ; +0xaf, 0x1800e483f\ntest    rdi, rdi                                                       ; +0xb1, 0x1800e4841\njz      short loc_1800E485C                                            ; +0xb4, 0x1800e4844\nmov     rdx, [rsp+48h+var_28]                                          ; +0xb6, 0x1800e4846\nmov     rcx, rdi                                                       ; +0xbb, 0x1800e484b\nmov     r8d, [rsp+48h+arg_20]                                          ; +0xbe, 0x1800e484e\nmov     rdx, [rdx+28h]                                                 ; +0xc3, 0x1800e4853\ncall    sub_1800B7D20                                                  ; +0xc7, 0x1800e4857\nmov     rdx, [rsp+48h+arg_28]                                          ; +0xcc, 0x1800e485c\ntest    rdx, rdx                                                       ; +0xd1, 0x1800e4861\njz      short loc_1800E4870                                            ; +0xd4, 0x1800e4864\nmov     rax, [rsp+48h+var_28]                                          ; +0xd6, 0x1800e4866\nmov     ecx, [rax+30h]                                                 ; +0xdb, 0x1800e486b\nmov     [rdx], ecx                                                     ; +0xde, 0x1800e486e\ntest    rbx, rbx                                                       ; +0xe0, 0x1800e4870\njz      short loc_1800E48DC                                            ; +0xe3, 0x1800e4873\nmov     dword ptr [rbx], 1                                             ; +0xe5, 0x1800e4875\njmp     short loc_1800E48DC                                            ; +0xeb, 0x1800e487b\ncmp     eax, 36h ; '6'                                                 ; +0xed, 0x1800e487d\njnz     short loc_1800E48DC                                            ; +0xf0, 0x1800e4880\nmov     rcx, [rbp+10E08h]                                              ; +0xf2, 0x1800e4882\nlea     r8, [rsp+48h+var_20]                                           ; +0xf9, 0x1800e4889\nmov     edx, r14d                                                      ; +0xfe, 0x1800e488e\ncall    sub_1800D7B90                                                  ; +0x101, 0x1800e4891\nmov     esi, eax                                                       ; +0x106, 0x1800e4896\ntest    eax, eax                                                       ; +0x108, 0x1800e4898\njnz     short loc_1800E48DC                                            ; +0x10a, 0x1800e489a\ntest    rdi, rdi                                                       ; +0x10c, 0x1800e489c\njz      short loc_1800E48BA                                            ; +0x10f, 0x1800e489f\nmov     rax, [rsp+48h+var_20]                                          ; +0x111, 0x1800e48a1\nmov     rcx, rdi                                                       ; +0x116, 0x1800e48a6\nmov     r8d, [rsp+48h+arg_20]                                          ; +0x119, 0x1800e48a9\nmov     rdx, [rax]                                                     ; +0x11e, 0x1800e48ae\nadd     rdx, 4                                                         ; +0x121, 0x1800e48b1\ncall    sub_1800B7D20                                                  ; +0x125, 0x1800e48b5\nmov     rdx, [rsp+48h+arg_28]                                          ; +0x12a, 0x1800e48ba\ntest    rdx, rdx                                                       ; +0x12f, 0x1800e48bf\njz      short loc_1800E48D1                                            ; +0x132, 0x1800e48c2\nmov     rax, [rsp+48h+var_20]                                          ; +0x134, 0x1800e48c4\nmov     rcx, [rax]                                                     ; +0x139, 0x1800e48c9\nmov     eax, [rcx+24h]                                                 ; +0x13c, 0x1800e48cc\nmov     [rdx], eax                                                     ; +0x13f, 0x1800e48cf\ntest    rbx, rbx                                                       ; +0x141, 0x1800e48d1\njz      short loc_1800E48DC                                            ; +0x144, 0x1800e48d4\nmov     dword ptr [rbx], 2                                             ; +0x146, 0x1800e48d6\nmov     eax, esi                                                       ; +0x14c, 0x1800e48dc\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x14e, 0x1800e48de\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x153, 0x1800e48e3\nadd     rsp, 30h                                                       ; +0x158, 0x1800e48e8\npop     r14                                                            ; +0x15c, 0x1800e48ec\npop     rdi                                                            ; +0x15e, 0x1800e48ee\npop     rbp                                                            ; +0x15f, 0x1800e48ef\nretn                                                                   ; +0x160, 0x1800e48f0", "xrefs": ["FMOD::System::getPluginInfo @ 0x1800ae715", "<???> @ 0x18018d508", "<???> @ 0x18018d518", "<???> @ 0x1801ffc00"], "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"}