//
// sub_F199F8 from 0xf199f8 to 0xf19a68 (112 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 13:12:33 +0000
//
void *__fastcall sub_F199F8(_DWORD *a1, int a2)
{
__int64 v4; // x21
size_t v5; // x2
void *result; // x0
v4 = *(_QWORD *)a1;
a1[810] = a2;
if ( a2 <= 0 )
v5 = 4400;
else
v5 = 4 * ((1 << a2) + 1100);
result = memset(a1, 0, v5);
*(_QWORD *)a1 = v4;
a1[810] = a2;
return result;
}