//
// sub_10056F5A8 from 0x10056f5a8 to 0x10056f608 (96 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:08:17 +0000
//
__int64 __fastcall sub_10056F5A8(_DWORD *a1, int a2, int a3)
{
int v3; // w8
int v4; // w8
if ( a2 == 4 )
{
if ( a3 >= 2 )
v4 = 2;
else
v4 = a3;
if ( v4 <= 0 )
v4 = 0;
a1[170] = v4;
goto LABEL_15;
}
if ( a2 == 1 )
{
if ( a3 >= 4 )
v3 = 4;
else
v3 = a3;
if ( v3 <= 0 )
v3 = 0;
a1[167] = v3;
LABEL_15:
++a1[159];
return 0;
}
return 31;
}