//
// sub_10059EE34 from 0x10059ee34 to 0x10059ee90 (92 bytes)
//
// 30 xrefs:
// > sub_100552F80 @ 0x100552fd8
// > sub_100552F80 @ 0x100553034
// > sub_100552F80 @ 0x10055304c
// > sub_100552F80 @ 0x100553064
// > sub_100552F80 @ 0x100553088
// > sub_100552F80 @ 0x1005531cc
// > sub_100552F80 @ 0x100553220
// > sub_100552F80 @ 0x100553238
// > sub_100552F80 @ 0x100553354
// > sub_100555B7C @ 0x100555bc0
// > sub_100555F40 @ 0x100555f78
// > sub_1006007C0 @ 0x1006007e4
// > sub_100600AD8 @ 0x100600c38
// > sub_100600AD8 @ 0x100600e1c
// > sub_100600AD8 @ 0x100600f44
// > sub_100600AD8 @ 0x100600fac
// > sub_100600AD8 @ 0x100600fc8
// > sub_100600AD8 @ 0x100601040
// > sub_100606A94 @ 0x100606ac0
// > sub_10060BD2C @ 0x10060bd58
// > sub_10060BF4C @ 0x10060bf80
// > sub_10060BF4C @ 0x10060bfc4
// > sub_10060BF4C @ 0x10060c03c
// > sub_10060CE2C @ 0x10060cec4
// > sub_10060D2A8 @ 0x10060d6b0
// > sub_100612098 @ 0x10061217c
// > sub_100612098 @ 0x100612194
// > sub_100612098 @ 0x1006121e4
// > sub_100612098 @ 0x100612214
// > sub_100612098 @ 0x100612230
//
// 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_10059EE34(__int64 a1, int a2, int a3)
{
__int64 v4; // x20
__int64 result; // x0
v4 = (unsigned int)(a3 * a2);
result = sub_1005D7660(
*((_QWORD *)off_1009DA5E8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_oggvorbis.cpp",
34,
0);
if ( a1 )
{
if ( result )
*(_DWORD *)(a1 + 1264) += v4;
}
return result;
}