//
// sub_10044F15C from 0x10044f15c to 0x10044f204 (168 bytes)
//
// 0 xrefs:
//
// 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_10044F15C(__int64 a1, __int64 a2)
{
__int64 v4; // x1
__int64 v5; // x0
if ( *(_DWORD *)(a1 + 64) >= (int)a2 )
return 0;
v4 = *(_QWORD *)(a1 + 48);
if ( v4 )
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_remotefile.cpp",
649,
1);
v5 = sub_1004B11FC(
*((_QWORD *)off_1008524C8 + 54),
a2,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_remotefile.cpp",
652,
0,
0,
1);
*(_QWORD *)(a1 + 48) = v5;
if ( !v5 )
return 38;
*(_DWORD *)(a1 + 64) = a2;
return 0;
}