//
// sub_F58F4 from 0xf58f4 to 0xf593c (72 bytes)
//
// 1 xrefs:
// > sub_FA57C @ 0xfa5c4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:15:07 +0000
//
__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;
}