//
// sub_1800B3C10 from 0x1800b3c10 to 0x1800b3c3e (46 bytes)
//
// 1 xrefs:
// > sub_1800398D0 @ 0x180039955
//
// 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_1800B3C10(_DWORD *a1, int a2)
{
int v2; // eax
int v3; // r8d
int v4; // eax
v2 = a1[8];
v3 = a2 - a1[94];
a1[94] = a2;
if ( v2 == -1 )
return 0;
v4 = v2 - v3;
a1[8] = v4;
if ( (unsigned int)(a2 + v4) <= a1[9] )
return 0;
else
return 28;
}