//
// sub_692E8 from 0x692e8 to 0x692ee (6 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
//
int __fastcall sub_692E8(_DWORD *a1, int a2, int a3)
{
_DWORD *v4; // r0
v4 = (_DWORD *)*a1;
if ( a2 == 4 )
{
if ( a3 >= 2 )
a3 = 2;
v4[128] = a3 & ~(a3 >> 31);
}
else
{
if ( a2 != 1 )
return 31;
if ( a3 >= 4 )
a3 = 4;
v4[125] = a3 & ~(a3 >> 31);
}
++v4[118];
return 0;
}