//
// sub_10059EE90 from 0x10059ee90 to 0x10059eee8 (88 bytes)
//
// 8 xrefs:
// > sub_100552C18 @ 0x100552c74
// > sub_1005FFB68 @ 0x1005ffbe4
// > sub_1005FFEA8 @ 0x100600014
// > sub_1005FFEA8 @ 0x100600038
// > sub_1005FFEA8 @ 0x100600218
// > sub_1006156D0 @ 0x1006157b0
// > sub_100615D20 @ 0x1006160a4
// > sub_100615D20 @ 0x1006160c0
//
// This function is hookable on this platform (idp: arm, 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 11:09:00 +0000
//
__int64 __fastcall sub_10059EE90(__int64 a1, __int64 a2, __int64 a3)
{
int v3; // w19
__int64 result; // x0
v3 = a3;
result = sub_1005D7694(
*((_QWORD *)off_1009DA5E8 + 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;
}