//
// PlayerObject::spiderTestJump from 0x444624 to 0x44467e (90 bytes)
//
// 5 xrefs:
// > PlayerObject::updateJump @ 0x444842
// > PlayerObject::spiderTestJumpY @ 0x445d66
// > PlayerObject::spiderTestJumpX @ 0x446636
// > PlayerObject::bumpPlayer @ 0x4466bc
// > PlayerObject::ringJump @ 0x4499de
//
// 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:29 +0000
//
int __fastcall PlayerObject::spiderTestJump(PlayerObject *this, bool a2)
{
int result; // r0
int v4; // r3
bool v5; // zf
int v6; // s14
int v7; // s15
PlayerObject::spiderTestJumpInternal(this, a2);
if ( *((_DWORD *)this + 610) )
PlayerObject::gameEventTriggered(this, 18, 0);
result = PlayerObject::isInBasicMode(this);
if ( result )
{
v4 = *((unsigned __int8 *)this + 1959);
if ( *((_BYTE *)this + 1963) )
{
v5 = v4 == 0;
v6 = 1132920832;
v7 = 1119092736;
}
else
{
v6 = 0;
v5 = v4 == 0;
v7 = 1127481344;
}
if ( v5 )
v7 = v6;
return (*(int (__fastcall **)(PlayerObject *, int))(*(_DWORD *)this + 180))(this, v7);
}
return result;
}