{"type": "func", "start": 6442703008, "end": 6442703094, "name": "sub_18003D8A0", "pseudocode": "// \n// sub_18003D8A0 from 0x18003d8a0 to 0x18003d8f6 (86 bytes)\n// \n// 2 xrefs:\n// > sub_18003D900 @ 0x18003d926\n// > <???> @ 0x1801f7e90\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_18003D8A0(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdx\n\n  result = sub_1800D4D40();\n  if ( !(_DWORD)result )\n  {\n    v3 = *(_QWORD *)(a1 + 2304);\n    if ( v3 )\n    {\n      sub_1800B6AA0(\n        *((_QWORD *)off_1801AED20 + 52),\n        v3,\n        \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_codec_xm.cpp\",\n        3170,\n        1);\n      *(_QWORD *)(a1 + 2304) = 0;\n    }\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_18003D8A0 from 0x18003d8a0 to 0x18003d8f6 (86 bytes)\n; \n; 2 xrefs:\n; > sub_18003D900 @ 0x18003d926\n; > <???> @ 0x1801f7e90\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\npush    rbx                                                            ; +0x0, 0x18003d8a0\nsub     rsp, 30h                                                       ; +0x2, 0x18003d8a2\nmov     rbx, rcx                                                       ; +0x6, 0x18003d8a6\ncall    sub_1800D4D40                                                  ; +0x9, 0x18003d8a9\ntest    eax, eax                                                       ; +0xe, 0x18003d8ae\njnz     short loc_18003D8F0                                            ; +0x10, 0x18003d8b0\nmov     rdx, [rbx+900h]                                                ; +0x12, 0x18003d8b2\ntest    rdx, rdx                                                       ; +0x19, 0x18003d8b9\njz      short loc_18003D8EE                                            ; +0x1c, 0x18003d8bc\nmov     rcx, cs:off_1801AED20                                          ; +0x1e, 0x18003d8be\nlea     r8, aCBuildagent1Wo_14; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x25, 0x18003d8c5\nmov     r9d, 0C62h                                                     ; +0x2c, 0x18003d8cc\nmov     [rsp+38h+var_18], 1                                            ; +0x32, 0x18003d8d2\nmov     rcx, [rcx+1A0h]                                                ; +0x37, 0x18003d8d7\ncall    sub_1800B6AA0                                                  ; +0x3e, 0x18003d8de\nmov     qword ptr [rbx+900h], 0                                        ; +0x43, 0x18003d8e3\nxor     eax, eax                                                       ; +0x4e, 0x18003d8ee\nadd     rsp, 30h                                                       ; +0x50, 0x18003d8f0\npop     rbx                                                            ; +0x54, 0x18003d8f4\nretn                                                                   ; +0x55, 0x18003d8f5", "xrefs": ["sub_18003D900 @ 0x18003d926", "<???> @ 0x1801f7e90"], "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"}