//
// PlayerObject::performSlideCheck from 0x4355b0 to 0x43565c (172 bytes)
//
// 1 xrefs:
// > PlayerObject::postCollision @ 0x44335a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:18 +0000
//
int __fastcall PlayerObject::performSlideCheck(int this)
{
int v1; // r3
float v2; // s14
int v3; // r2
int v4; // r4
int v5; // r1
int v6; // r3
v1 = *(_DWORD *)(this + 1288);
if ( v1
&& (*(_BYTE *)(this + 1944) || *(_BYTE *)(this + 1945))
&& !*(_BYTE *)(this + 1952)
&& !*(_BYTE *)(v1 + 1118)
&& (v2 = fabsf(*(float *)(this + 1296) * 57.296), v2 > 40.0) )
{
v3 = *(unsigned __int8 *)(this + 1300);
v4 = *(unsigned __int8 *)(this + 2297);
v5 = *(unsigned __int8 *)(this + 2298);
v6 = *(unsigned __int8 *)(this + 1959);
if ( *(_BYTE *)(this + 1300) )
{
if ( *(_BYTE *)(this + 1959) )
v3 = 0;
}
else
{
v3 = *(unsigned __int8 *)(this + 1959);
v6 = v6 == 0;
}
*(_BYTE *)(this + 2298) = v6;
*(_BYTE *)(this + 2297) = v3;
if ( v4 != v3 || v5 != v6 )
*(_QWORD *)(this + 2280) = *(_QWORD *)(this + 2128);
*(double *)(this + 2304) = v2;
*(_BYTE *)(this + 2232) = 1;
}
else
{
*(_BYTE *)(this + 2297) = 0;
*(_BYTE *)(this + 2298) = 0;
}
return this;
}