//
// sub_100449440 from 0x100449440 to 0x1004494a0 (96 bytes)
//
// 0 xrefs:
//
// 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_100449440(_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;
}