//
// sub_100457CC4 from 0x100457cc4 to 0x100457d30 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008277e0
//
// 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_100457CC4(_QWORD *a1, __int64 a2)
{
_QWORD *v2; // x0
__int64 result; // x0
if ( !a2 )
return 31;
if ( a1[92] )
{
v2 = (_QWORD *)a1[92];
}
else if ( a1[5] && a1[82] )
{
v2 = a1 + 14;
}
else
{
v2 = (_QWORD *)a1[91];
if ( !v2 )
return 30;
}
result = sub_1004A401C(v2);
if ( !(_DWORD)result )
return 0;
return result;
}