//
// PlayerObject::spiderTestJump from 0x3493bc to 0x349416 (90 bytes)
//
// 5 xrefs:
// > PlayerObject::updateJump @ 0x3495da
// > PlayerObject::spiderTestJumpY @ 0x34aade
// > PlayerObject::spiderTestJumpX @ 0x34b3ae
// > PlayerObject::bumpPlayer @ 0x34b434
// > PlayerObject::ringJump @ 0x34e214
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void PlayerObject::spiderTestJump(PlayerObject *a1, bool a2)
{
_BOOL4 m_isUpsideDown; // r3
bool v4; // zf
int v5; // s14
int v6; // s15
PlayerObject::spiderTestJumpInternal(a1, a2);
if ( a1->m_gameLayer )
PlayerObject::gameEventTriggered(a1, 18, 0);
if ( PlayerObject::isInBasicMode(a1) )
{
m_isUpsideDown = a1->m_isUpsideDown;
if ( a1->m_isSideways )
{
v4 = !m_isUpsideDown;
v5 = 1132920832;
v6 = 1119092736;
}
else
{
v5 = 0;
v4 = !m_isUpsideDown;
v6 = 1127481344;
}
if ( v4 )
v6 = v5;
((void (__fastcall *)(PlayerObject *, int))a1->setRotation)(a1, v6);
}
}