signed __int64 __fastcall sub_14065E8E4(__int64 a1, UINT64 a2, _LARGE_INTEGER a3, VOID *a4){
signed __int64 v4;
v4 = 0i64;
if( a1 )
{
v4 = _InterlockedDecrement64((volatile signed __int64 *)(a1 + 232));
if( !v4 )
WbFreeWarbirdProcess((PVOID)a1);
}
return v4;
}