//
// sub_10061AF8C from 0x10061af8c to 0x10061aff4 (104 bytes)
//
// 0 xrefs:
//
// 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:10:16 +0000
//
void *__fastcall sub_10061AF8C(unsigned int *a1, unsigned __int64 a2, unsigned __int64 a3)
{
unsigned __int64 v3; // x19
_BOOL4 v4; // w8
void *v5; // x0
void *v6; // x20
if ( a2 )
{
v3 = a2 * a3;
v4 = !is_mul_ok(a2, a3);
if ( (a3 | a2) >= 0x10000 && v4 )
v3 = -1;
}
else
{
v3 = 0;
}
v5 = (void *)sub_10061941C(a1, v3);
v6 = v5;
if ( v5 )
bzero(v5, v3);
return v6;
}