//
// sub_1004ADF2C from 0x1004adf2c to 0x1004adfa8 (124 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_1004ADF2C(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x0
__int64 v4; // x1
result = sub_1004D5598(a1);
if ( !(_DWORD)result )
{
v3 = *(_QWORD *)(a1 + 368);
if ( v3 )
{
result = sub_1004B5C10(v3, 0);
if ( (_DWORD)result )
return result;
*(_QWORD *)(a1 + 368) = 0;
}
v4 = *(_QWORD *)(a1 + 336);
if ( v4 )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_geometry_mgr.cpp",
117,
1);
*(_QWORD *)(a1 + 336) = 0;
}
return 0;
}
return result;
}