//
// sub_1004A9418 from 0x1004a9418 to 0x1004a94ac (148 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_1004A9418(__int64 a1)
{
_QWORD *v2; // x9
__int64 v3; // x0
v2 = *(_QWORD **)(a1 + 8);
*v2 = *(_QWORD *)a1;
*(_QWORD *)(*(_QWORD *)a1 + 8LL) = v2;
*(_QWORD *)a1 = a1;
*(_QWORD *)(a1 + 8) = a1;
*(_BYTE *)(a1 + 360) = 0;
sub_1004D5598(a1 + 24);
if ( !*(_BYTE *)(a1 + 420) )
{
*((_QWORD *)off_1008524C8 + 10) = 0;
v3 = *(_QWORD *)(a1 + 408);
if ( !v3 )
goto LABEL_4;
goto LABEL_3;
}
v3 = *(_QWORD *)(a1 + 408);
if ( v3 )
LABEL_3:
sub_1004B5C10(v3, 0);
LABEL_4:
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
a1,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file.cpp",
213,
1);
return 0;
}