//
// sub_1004C54F4 from 0x1004c54f4 to 0x1004c555c (104 bytes)
//
// 4 xrefs:
// > ??> @ 0x100828630
// > ??> @ 0x1008287d8
// > ??> @ 0x100828980
// > ??> @ 0x100828b10
//
// 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_1004C54F4(__int64 a1)
{
void *v2; // x0
__int64 v3; // x8
v2 = *(void **)(a1 + 56);
if ( !v2 )
{
v2 = sub_1004B14F8(
*((__int64 **)off_1008524C8 + 54),
256,
(char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_soundi.cpp",
1440,
0);
*(_QWORD *)(a1 + 56) = v2;
if ( !v2 )
return 38;
}
v3 = 0;
*(_QWORD *)(a1 + 48) = v2;
return v3;
}