//
// sub_100449C6C from 0x100449c6c to 0x100449cd0 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084d470
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100449C6C(_QWORD *a1, int a2, int a3)
{
_DWORD *v3; // x8
int v4; // w9
int v5; // w9
v3 = (_DWORD *)*a1;
if ( a2 == 4 )
{
if ( a3 >= 2 )
v5 = 2;
else
v5 = a3;
if ( v5 <= 0 )
v5 = 0;
v3[170] = v5;
goto LABEL_15;
}
if ( a2 == 1 )
{
if ( a3 >= 4 )
v4 = 4;
else
v4 = a3;
if ( v4 <= 0 )
v4 = 0;
v3[167] = v4;
LABEL_15:
++v3[159];
return 0;
}
return 31;
}