//
// sub_100458328 from 0x100458328 to 0x1004583a4 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100827888
//
// 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_100458328(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
__int64 v4; // x20
__int64 v5; // x19
v2 = *(_QWORD *)(a1 + 192);
if ( !v2 )
return 30;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 56LL))(v2);
if ( !(_DWORD)result )
{
v4 = *(_QWORD *)(a1 + 8);
if ( v4 )
{
sub_100442B5C(*(_QWORD *)(a1 + 8), 8u);
v5 = sub_100456354(a1);
sub_100442B7C(v4, 8u);
return v5;
}
else
{
return sub_100456354(a1);
}
}
return result;
}