//
// sub_18003D8A0 from 0x18003d8a0 to 0x18003d8f6 (86 bytes)
//
// 2 xrefs:
// > sub_18003D900 @ 0x18003d926
// > ??> @ 0x1801f7e90
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:09 +0000
//
__int64 __fastcall sub_18003D8A0(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdx
result = sub_1800D4D40();
if ( !(_DWORD)result )
{
v3 = *(_QWORD *)(a1 + 2304);
if ( v3 )
{
sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
v3,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_codec_xm.cpp",
3170,
1);
*(_QWORD *)(a1 + 2304) = 0;
}
return 0;
}
return result;
}