//
// PlayerObject::performSlideCheck from 0x1003f3880 to 0x1003f3949 (201 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:29:55 +0000
//
__int64 __fastcall PlayerObject::performSlideCheck(__int64 a1)
{
__int64 result; // rax
float v2; // xmm0_4
char v3; // cl
char v4; // dl
char v5; // cl
char v6; // si
result = *(_QWORD *)(a1 + 1504);
if ( !result
|| !*(_BYTE *)(a1 + 2408) && *(_BYTE *)(a1 + 2409) != 1
|| *(_BYTE *)(a1 + 2416)
|| *(_BYTE *)(result + 1298)
|| (v2 = fabs(*(float *)(a1 + 1520) * 57.29578), v2 <= 40.0) )
{
*(_WORD *)(a1 + 2809) = 0;
return result;
}
result = *(unsigned __int8 *)(a1 + 2809);
v3 = *(_BYTE *)(a1 + 2423);
if ( *(_BYTE *)(a1 + 1524) == 1 )
{
if ( !v3 )
{
LABEL_9:
v4 = 1;
v5 = 0;
goto LABEL_13;
}
}
else if ( v3 )
{
goto LABEL_9;
}
v5 = 1;
v4 = 0;
LABEL_13:
v6 = *(_BYTE *)(a1 + 2810);
*(_BYTE *)(a1 + 2809) = v4;
*(_BYTE *)(a1 + 2810) = v5;
if ( (_BYTE)result != v4 || v6 != v5 )
*(_QWORD *)(a1 + 2792) = *(_QWORD *)(a1 + 2624);
*(double *)(a1 + 2816) = v2;
*(_BYTE *)(a1 + 2744) = 1;
return result;
}