//
// PlayerObject::spiderTestJump from 0x7636a8 to 0x763750 (168 bytes)
//
// 6 xrefs:
// > PlayerObject::updateJump @ 0x7644d8
// > PlayerObject::spiderTestJumpY @ 0x76506c
// > PlayerObject::spiderTestJumpX @ 0x765b70
// > PlayerObject::bumpPlayer @ 0x765ecc
// > PlayerObject::ringJump @ 0x76a244
// > ??> @ 0xa7db8
//
// 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:53:05 +0000
//
__int64 __fastcall PlayerObject::spiderTestJump(PlayerObject *this, unsigned __int8 a2)
{
__int64 result; // x0
long double v4; // q0
PlayerObject::spiderTestJumpInternal(this, a2);
if ( *((_QWORD *)this + 377) )
PlayerObject::gameEventTriggered((__int64)this, 18, 0);
result = (unsigned __int8)PlayerObject::isInBasicMode(this);
if ( (_BYTE)result )
{
if ( *((_BYTE *)this + 2427) )
{
if ( !*((_BYTE *)this + 2423) )
return (*(__int64 (__fastcall **)(PlayerObject *, float))(*(_QWORD *)this + 360LL))(this, 270.0);
LODWORD(v4) = 1119092736;
}
else
{
LODWORD(v4) = 0;
if ( *((_BYTE *)this + 2423) )
return (*(__int64 (__fastcall **)(PlayerObject *, float))(*(_QWORD *)this + 360LL))(this, 180.0);
}
return (*(__int64 (__fastcall **)(PlayerObject *, long double))(*(_QWORD *)this + 360LL))(this, v4);
}
return result;
}