//
// sub_1003F59B8 from 0x1003f59b8 to 0x1003f5a38 (128 bytes)
//
// 1 xrefs:
// > sub_1003F44F4 @ 0x1003f4578
//
// 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 11:04:32 +0000
//
_QWORD *__usercall sub_1003F59B8@(__int64 a1@, _QWORD *a2@)
{
int v4; // w8
int v5; // w8
char *v6; // x1
++*(_DWORD *)(a1 + 448);
v4 = *(_DWORD *)(a1 + 436);
if ( v4 < 0 )
v5 = llroundf(vcvts_n_f32_s32(rand(), 0x1Fu) * 20.0);
else
v5 = v4 + 1;
if ( v5 > 20 )
v5 = 0;
*(_DWORD *)(a1 + 436) = v5;
if ( (unsigned int)v5 > 0x14 )
v6 = "...";
else
v6 = off_10094BF08[v5];
return sub_100009900(a2, v6);
}