//
// sub_5F658 from 0x5f658 to 0x5f6cc (116 bytes)
//
// 2 xrefs:
// > sub_5F7A0 @ 0x5f7d0
// > sub_5F970 @ 0x5f9e8
//
// 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:13:53 +0000
//
__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;
}