{"type": "func", "start": 6443484400, "end": 6443484590, "name": "sub_1800FC4F0", "pseudocode": "// \n// sub_1800FC4F0 from 0x1800fc4f0 to 0x1800fc5ae (190 bytes)\n// \n// 6 xrefs:\n// > sub_1800E4E00 @ 0x1800e5836\n// > sub_1800E4E00 @ 0x1800e5865\n// > sub_1800E4E00 @ 0x1800e5894\n// > sub_1800E4E00 @ 0x1800e58c3\n// > sub_1800FD770 @ 0x1800fdb78\n// > <???> @ 0x180200e84\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_1800FC4F0(__int64 a1, int a2, __int64 a3, int a4, unsigned int a5)\n{\n  __int64 v9; // rdi\n  __int64 *v10; // rax\n  __int64 *v11; // rbx\n  __int64 result; // rax\n\n  v9 = 8LL * a2;\n  if ( *(_QWORD *)(v9 + a1 + 67968) )\n    return 0;\n  v10 = (__int64 *)sub_1800B6880(\n                     *((_QWORD *)off_1801AED20 + 52),\n                     184,\n                     \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_systemi_dsp.cpp\",\n                     618,\n                     0);\n  v11 = v10;\n  if ( !v10 )\n    return 38;\n  sub_1800B63A0((__int64)(v10 + 6));\n  *v11 = a1;\n  result = sub_180055620(v11, a2, a3, a4, a5);\n  if ( !(_DWORD)result )\n  {\n    *(_QWORD *)(v9 + a1 + 67968) = v11;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800FC4F0 from 0x1800fc4f0 to 0x1800fc5ae (190 bytes)\n; \n; 6 xrefs:\n; > sub_1800E4E00 @ 0x1800e5836\n; > sub_1800E4E00 @ 0x1800e5865\n; > sub_1800E4E00 @ 0x1800e5894\n; > sub_1800E4E00 @ 0x1800e58c3\n; > sub_1800FD770 @ 0x1800fdb78\n; > <???> @ 0x180200e84\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_0], rbx                                               ; +0x0, 0x1800fc4f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800fc4f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800fc4fa\npush    rdi                                                            ; +0xf, 0x1800fc4ff\npush    r14                                                            ; +0x10, 0x1800fc500\npush    r15                                                            ; +0x12, 0x1800fc502\nsub     rsp, 30h                                                       ; +0x14, 0x1800fc504\nmovsxd  rsi, edx                                                       ; +0x18, 0x1800fc508\nmov     r14d, r9d                                                      ; +0x1b, 0x1800fc50b\nmov     r15, r8                                                        ; +0x1e, 0x1800fc50e\nmov     rbp, rcx                                                       ; +0x21, 0x1800fc511\nlea     rdi, ds:0[rsi*8]                                               ; +0x24, 0x1800fc514\ncmp     qword ptr [rdi+rcx+10980h], 0                                  ; +0x2c, 0x1800fc51c\njnz     short loc_1800FC58C                                            ; +0x35, 0x1800fc525\nmov     rcx, cs:off_1801AED20                                          ; +0x37, 0x1800fc527\nlea     r8, aCBuildagent1Wo_73; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x3e, 0x1800fc52e\nmov     r9d, 26Ah                                                      ; +0x45, 0x1800fc535\nmov     [rsp+48h+var_28], 0                                            ; +0x4b, 0x1800fc53b\nmov     edx, 0B8h                                                      ; +0x53, 0x1800fc543\nmov     rcx, [rcx+1A0h]                                                ; +0x58, 0x1800fc548\ncall    sub_1800B6880                                                  ; +0x5f, 0x1800fc54f\nmov     rbx, rax                                                       ; +0x64, 0x1800fc554\ntest    rax, rax                                                       ; +0x67, 0x1800fc557\njz      short loc_1800FC5A7                                            ; +0x6a, 0x1800fc55a\nlea     rcx, [rax+30h]                                                 ; +0x6c, 0x1800fc55c\ncall    sub_1800B63A0                                                  ; +0x70, 0x1800fc560\nmov     ecx, [rsp+48h+arg_20]                                          ; +0x75, 0x1800fc565\nmov     r9d, r14d                                                      ; +0x79, 0x1800fc569\nmov     [rsp+48h+var_28], ecx                                          ; +0x7c, 0x1800fc56c\nmov     r8, r15                                                        ; +0x80, 0x1800fc570\nmov     rcx, rbx                                                       ; +0x83, 0x1800fc573\nmov     [rbx], rbp                                                     ; +0x86, 0x1800fc576\nmov     edx, esi                                                       ; +0x89, 0x1800fc579\ncall    sub_180055620                                                  ; +0x8b, 0x1800fc57b\ntest    eax, eax                                                       ; +0x90, 0x1800fc580\njnz     short loc_1800FC58E                                            ; +0x92, 0x1800fc582\nmov     [rdi+rbp+10980h], rbx                                          ; +0x94, 0x1800fc584\nxor     eax, eax                                                       ; +0x9c, 0x1800fc58c\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x9e, 0x1800fc58e\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xa3, 0x1800fc593\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xa8, 0x1800fc598\nadd     rsp, 30h                                                       ; +0xad, 0x1800fc59d\npop     r15                                                            ; +0xb1, 0x1800fc5a1\npop     r14                                                            ; +0xb3, 0x1800fc5a3\npop     rdi                                                            ; +0xb5, 0x1800fc5a5\nretn                                                                   ; +0xb6, 0x1800fc5a6\nmov     eax, 26h ; '&'                                                 ; +0xb7, 0x1800fc5a7\njmp     short loc_1800FC58E                                            ; +0xbc, 0x1800fc5ac", "xrefs": ["sub_1800E4E00 @ 0x1800e5836", "sub_1800E4E00 @ 0x1800e5865", "sub_1800E4E00 @ 0x1800e5894", "sub_1800E4E00 @ 0x1800e58c3", "sub_1800FD770 @ 0x1800fdb78", "<???> @ 0x180200e84"], "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"}