//
// sub_1800A48C0 from 0x1800a48c0 to 0x1800a4984 (196 bytes)
//
// 5 xrefs:
// > sub_1800A4990 @ 0x1800a4a5c
// > sub_1800A4BC0 @ 0x1800a4bd2
// > ??> @ 0x1801869a4
// > ??> @ 0x1801869b4
// > ??> @ 0x1801fb6ac
//
// 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:53 +0000
//
__int64 __fastcall sub_1800A48C0(__int64 *a1)
{
__int64 v1; // rsi
int v2; // edi
_QWORD *v3; // rbx
__int64 v4; // rdx
int v6; // [rsp+20h] [rbp-18h]
v1 = *a1;
v2 = 0;
if ( *(int *)(*a1 + 696) > 0 )
{
v3 = (_QWORD *)(v1 + 192);
do
{
v4 = *(v3 - 1);
if ( v4 )
{
LOBYTE(v6) = 1;
sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
v4,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_output_winsonic.cpp",
125,
v6);
*(v3 - 1) = 0;
}
if ( *v3 )
{
LOBYTE(v6) = 1;
sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
*v3,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_output_winsonic.cpp",
126,
v6);
*v3 = 0;
}
++v2;
v3 += 2;
}
while ( v2 < *(_DWORD *)(v1 + 696) );
}
*(_DWORD *)(v1 + 696) = 0;
*(_BYTE *)(v1 + 180) = 0;
return 0;
}