//
// sub_5F658 from 0x5f658 to 0x5f6cc (116 bytes)
//
// 2 xrefs:
// > sub_5F7A0 @ 0x5f7d0
// > sub_5F970 @ 0x5f9e8
//
// 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_5F658(__int64 a1)
{
_QWORD *v2; // x0
_QWORD *v3; // x0
__int64 v4; // x8
__int64 v5; // x2
if ( *(_QWORD *)(a1 + 32) )
{
v2 = sub_5FB58(off_114000);
sub_5FB74(v2);
*(_QWORD *)(a1 + 32) = 0;
}
if ( *(_QWORD *)(a1 + 40) )
{
v3 = sub_5FB58(off_114000);
sub_5FB74(v3);
*(_QWORD *)(a1 + 40) = 0;
}
sub_5FB58(off_114000);
sub_E2D74(*(_QWORD *)(v4 + 432), a1, v5, 92, 1);
return 0;
}