//
// sub_1005752C4 from 0x1005752c4 to 0x10057536c (168 bytes)
//
// 0 xrefs:
//
// 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:08:20 +0000
//
__int64 __fastcall sub_1005752C4(__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_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_remotefile.cpp",
649,
1);
v5 = sub_1005D7364(
*((_QWORD *)off_1009DA5E8 + 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;
}