//
// sub_10070596C from 0x10070596c to 0x100705ab8 (332 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e92a8
//
// 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:12:51 +0000
//
bool sub_10070596C()
{
int v0; // w20
__int64 v1; // x0
char v2; // w20
_BOOL8 v3; // x19
__n128 v5; // [xsp+0h] [xbp-30h] BYREF
sub_1006AE5D0((int **)&v5);
if ( byte_100A0C910[0] == 1
&& (sub_1006AE2F8(5, 19, (__int64)"md_rand.c", 559),
v0 = sub_1006AE630(&xmmword_100A0C938, &v5),
v1 = sub_1006AE2F8(6, 19, (__int64)"md_rand.c", 561),
!v0) )
{
v2 = 1;
}
else
{
sub_1006AE2F8(9, 18, (__int64)"md_rand.c", 566);
sub_1006AE2F8(9, 19, (__int64)"md_rand.c", 571);
sub_1006AE638(&xmmword_100A0C938, &v5);
v1 = sub_1006AE2F8(10, 19, (__int64)"md_rand.c", 573);
v2 = 0;
byte_100A0C910[0] = 1;
}
if ( (byte_100A0C911 & 1) == 0 )
{
sub_100706824(v1);
byte_100A0C911 = 1;
}
v3 = *(double *)&qword_100A0C920 >= 32.0;
if ( (v2 & 1) == 0 )
{
byte_100A0C910[0] = 0;
sub_1006AE2F8(10, 18, (__int64)"md_rand.c", 588);
}
return v3;
}