//
// PlayerObject::performSlideCheck from 0x74f0e0 to 0x74f1a0 (192 bytes)
//
// 2 xrefs:
// > PlayerObject::postCollision @ 0x761968
// > ??> @ 0xc3070
//
// This function is hookable on this platform (idp: arm, 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:52:54 +0000
//
__int64 __fastcall PlayerObject::performSlideCheck(__int64 this)
{
__int64 v1; // x2
float v2; // s0
int v3; // w1
int v4; // w3
int v5; // w4
int v6; // w1
int v7; // w2
v1 = *(_QWORD *)(this + 1504);
if ( v1 && (*(_BYTE *)(this + 2408) || *(_BYTE *)(this + 2409)) && !*(_BYTE *)(this + 2416) && !*(_BYTE *)(v1 + 1298) )
{
v2 = fabsf(*(float *)(this + 1520) * 57.296);
if ( v2 > 40.0 )
{
v3 = *(unsigned __int8 *)(this + 1524);
v4 = *(unsigned __int8 *)(this + 2809);
v5 = *(unsigned __int8 *)(this + 2810);
if ( *(_BYTE *)(this + 1524) )
{
v7 = *(unsigned __int8 *)(this + 2423);
*(_BYTE *)(this + 2810) = v7;
if ( v7 )
v3 = 0;
*(_BYTE *)(this + 2809) = v3;
if ( v4 != v3 )
goto LABEL_8;
}
else
{
v6 = *(unsigned __int8 *)(this + 2423);
*(_BYTE *)(this + 2809) = v6;
v7 = v6 == 0;
*(_BYTE *)(this + 2810) = v7;
if ( v4 != v6 )
{
LABEL_8:
*(_QWORD *)(this + 2792) = *(_QWORD *)(this + 2624);
LABEL_9:
*(_BYTE *)(this + 2744) = 1;
*(double *)(this + 2816) = v2;
return this;
}
}
if ( v5 == v7 )
goto LABEL_9;
goto LABEL_8;
}
}
*(_BYTE *)(this + 2809) = 0;
*(_BYTE *)(this + 2810) = 0;
return this;
}