//
// sub_1004BAE20 from 0x1004bae20 to 0x1004bae94 (116 bytes)
//
// 1 xrefs:
// > sub_1004BADD0 @ 0x1004bade0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004BAE20(int a1, int a2, __int64 a3, size_t __size, _DWORD *a5, int a6, int a7, int a8)
{
if ( a3 && (int)__size >= 1 )
sub_1004C7414(
a3,
__size,
(int)"%s PCM wave writer (default filename = %s)",
__size,
(int)a5,
a6,
a7,
a8,
*((_QWORD *)&unk_100828530 + 2 * a2 + 1));
if ( a5 )
*a5 = a2;
return 0;
}