//
// sub_10047F764 from 0x10047f764 to 0x10047f818 (180 bytes)
//
// 1 xrefs:
// > sub_10047F0C0 @ 0x10047f0c8
//
// 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_10047F764(__int64 a1)
{
__int64 v2; // x1
bool v3; // zf
__int64 v4; // x1
__int64 v5; // x1
v2 = *(_QWORD *)(a1 + 552);
if ( v2 )
v3 = v2 == a1 + 512;
else
v3 = 1;
if ( !v3 )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v2,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_wav.cpp",
440,
1);
*(_QWORD *)(a1 + 552) = 0;
}
v4 = *(_QWORD *)(a1 + 496);
if ( v4 )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_wav.cpp",
445,
1);
*(_QWORD *)(a1 + 496) = 0;
}
*(_DWORD *)(a1 + 504) = 0;
v5 = *(_QWORD *)(a1 + 480);
if ( v5 )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v5,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_wav.cpp",
451,
1);
*(_QWORD *)(a1 + 480) = 0;
}
*(_DWORD *)(a1 + 472) = 0;
return 0;
}