//
// sub_1005CFB88 from 0x1005cfb88 to 0x1005cfc28 (160 bytes)
//
// 1 xrefs:
// > sub_100565B84 @ 0x10056731c
//
// 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:30 +0000
//
__int64 __fastcall sub_1005CFB88(__int64 a1)
{
__int64 v2; // x19
const void *v3; // x20
void *v4; // x0
v3 = *(const void **)(a1 + 480);
v2 = *(_QWORD *)(a1 + 488);
v4 = (void *)sub_1005D7660(
*((_QWORD *)off_1009DA5E8 + 54),
(unsigned int)(*(_DWORD *)(a1 + 348) + 1),
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file.cpp",
1744,
0);
*(_QWORD *)(a1 + 488) = v4;
if ( !v4 )
return 38;
*(_QWORD *)(a1 + 480) = v4;
if ( v3 )
memcpy(v4, v3, *(unsigned int *)(a1 + 348));
if ( v2 )
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v2,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file.cpp",
1759,
1);
return 0;
}