//
// sub_F58F4 from 0xf58f4 to 0xf593c (72 bytes)
//
// 1 xrefs:
// > sub_FA57C @ 0xfa5c4
//
// 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_F58F4(__int64 a1, __int64 a2)
{
__int64 v3; // x0
*(_QWORD *)(a2 + 32) = 0;
*(_OWORD *)a2 = 0u;
*(_OWORD *)(a2 + 16) = 0u;
v3 = sub_9CE54(a1, 1, 4912);
*(_QWORD *)(a2 + 32) = v3;
if ( v3 )
return 0;
else
return (unsigned int)-139;
}