//
// sub_100478D28 from 0x100478d28 to 0x100478d80 (88 bytes)
//
// 8 xrefs:
// > sub_10042CAB0 @ 0x10042cb0c
// > sub_1004D9A00 @ 0x1004d9a7c
// > sub_1004D9D40 @ 0x1004d9eac
// > sub_1004D9D40 @ 0x1004d9ed0
// > sub_1004D9D40 @ 0x1004da0b0
// > sub_1004EF568 @ 0x1004ef648
// > sub_1004EFBB8 @ 0x1004eff3c
// > sub_1004EFBB8 @ 0x1004eff58
//
// 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_100478D28(__int64 a1, __int64 a2, __int64 a3)
{
int v3; // w19
__int64 result; // x0
v3 = a3;
result = sub_1004B152C(
*((_QWORD *)off_1008524C8 + 54),
a2,
a3,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_oggvorbis.cpp",
60,
0);
if ( a1 )
{
if ( result )
*(_DWORD *)(a1 + 1264) += v3;
}
return result;
}