//
// sub_8C928 from 0x8c928 to 0x8c978 (80 bytes)
//
// 1 xrefs:
// > sub_8D6F8 @ 0x8e75c
//
// 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_8C928(__int64 a1)
{
unsigned int v1; // w11
__int64 v2; // x8
int v3; // w9
int v4; // w9
v1 = *(unsigned __int8 *)(a1 + 249);
v2 = *(_QWORD *)(a1 + 8);
if ( (v1 & 0xF) == 0 )
*(_DWORD *)(a1 + 220) += v1 >> 4;
v3 = *(_DWORD *)(a1 + 220);
if ( (v1 & 0xF0) == 0 )
{
v3 -= v1 & 0xF;
*(_DWORD *)(a1 + 220) = v3;
}
if ( v3 > 64 )
{
v4 = 64;
LABEL_9:
*(_DWORD *)(a1 + 220) = v4;
goto LABEL_10;
}
if ( v3 < 0 )
{
v4 = 0;
goto LABEL_9;
}
LABEL_10:
*(_BYTE *)(v2 + 60) |= 2u;
return 0;
}