//
// sub_180015A20 from 0x180015a20 to 0x180015aa9 (137 bytes)
//
// 2 xrefs:
// > sub_180015AB0 @ 0x180015ad6
// > ??> @ 0x1801f70e0
//
// 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:52:47 +0000
//
__int64 __fastcall sub_180015A20(__int64 a1)
{
__int64 v2; // rdx
char v4; // [rsp+20h] [rbp-18h]
if ( *(_QWORD *)(a1 + 376) )
{
sub_180043D20();
sub_180043C90(*(void **)(a1 + 376));
*(_QWORD *)(a1 + 376) = 0;
}
v2 = *(_QWORD *)(a1 + 448);
if ( v2 )
{
v4 = 1;
sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
v2,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_codec_flac.cpp",
423,
v4);
*(_QWORD *)(a1 + 448) = 0;
*(_QWORD *)(a1 + 440) = 0;
}
*(_DWORD *)(a1 + 456) = 0;
*(_QWORD *)(a1 + 8) = 0;
return 0;
}