//
// PlayerObject::spiderTestJump from 0x10021e058 to 0x10021e110 (184 bytes)
//
// 3 xrefs:
// > PlayerObject::updateJump @ 0x10021ada0
// > PlayerObject::ringJump @ 0x10022841c
// > PlayerObject::bumpPlayer @ 0x10022cb44
//
// 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 __fastcall PlayerObject::spiderTestJump(PlayerObject *a1, bool a2)
{
__n128 v3; // q0
GJBaseGameLayer *m_gameLayer; // x0
float v5; // s1
PlayerObject::spiderTestJumpInternal(a1, a2);
m_gameLayer = a1->m_gameLayer;
if ( m_gameLayer )
GJBaseGameLayer::gameEventTriggered(m_gameLayer, SpiderTeleport, 0, a1->m_uniqueID);
if ( !a1->m_isShip && !a1->m_isBird && !a1->m_isDart && !a1->m_isSwing && !a1->m_isBall && !a1->m_isSpider )
{
v3.n128_u32[0] = 1132920832;
if ( a1->m_isUpsideDown )
v3.n128_f32[0] = 90.0;
v5 = 180.0;
if ( !a1->m_isUpsideDown )
v5 = 0.0;
if ( !a1->m_isSideways )
v3.n128_f32[0] = v5;
((void (__fastcall *)(PlayerObject *, __n128))a1->setRotation)(a1, v3);
}
}