//
// PlayerObject::updateJump from 0x14038b900 to 0x14038cb9b (4763 bytes)
//
// 3 xrefs:
// > PlayerObject::update @ 0x140389216
// > PlayerObject::pushButton @ 0x140398045
// > ??> @ 0x1406d602c
//
// 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::updateJump(PlayerObject *a1, float a2)
{
bool m_holdingLeft; // r14
bool m_holdingRight; // si
float v6; // xmm0_4
int v7; // ebx
int v8; // r9d
int v9; // r8d
float m_gravity; // xmm12_4
bool m_jumpBuffered; // cl
_BOOL8 m_isRobot; // rdx
bool m_isBall; // al
float v14; // xmm5_4
float m_gravityMod; // xmm0_4
float v16; // xmm9_4
float m_vehicleSize; // xmm0_4
float v18; // xmm7_4
float v19; // xmm7_4
bool m_platformerMovingLeft; // al
char v21; // bl
bool m_isPlatformer; // cl
float m_yStart; // xmm2_4
int v24; // r8d
double v25; // xmm1_8
double v26; // xmm0_8
int m_maybeSlidingTime; // eax
int v28; // ebx
int v29; // eax
int v30; // r8d
float v31; // xmm4_4
double v32; // xmm3_8
float v33; // xmm6_4
double v34; // xmm1_8
double v35; // xmm2_8
float v36; // xmm2_4
int v37; // r8d
double v38; // xmm0_8
double v39; // xmm1_8
double v40; // xmm1_8
GJGameEvent v41; // edx
GJBaseGameLayer *v42; // rcx
int v43; // ebx
double m_accelerationOrSpeed; // xmm2_8
int v45; // eax
GJBaseGameLayer *v46; // rcx
double v47; // xmm1_8
bool v48; // cf
bool v49; // zf
GJBaseGameLayer *v50; // rcx
PlayerObject *v51; // rcx
int v52; // r8d
int v53; // ebx
double v54; // xmm1_8
double v55; // xmm1_8
double v56; // xmm7_8
bool v57; // cf
bool v58; // zf
double v59; // xmm1_8
bool v60; // cf
bool v61; // zf
GJSpiderSprite *m_robotSprite; // rcx
float v63; // xmm2_4
float v64; // xmm3_4
double v65; // xmm4_8
double m_yVelocity; // xmm4_8
float v67; // xmm3_4
bool v68; // dl
float v69; // xmm4_4
int v70; // ebx
int v71; // r8d
bool v72; // al
GJBaseGameLayer *v73; // rcx
int m_uniqueID; // r9d
GJGameEvent v75; // edx
float v76; // xmm1_4
double v77; // xmm1_8
bool v78; // cc
int v79; // r8d
float m_slopeVelocity; // xmm1_4
double v81; // xmm0_8
int v82; // r8d
__int64 v83; // rbx
struct cocos2d::CCDelayTime *v84; // rax
struct cocos2d::CCSequence *v85; // rbx
cocos2d::ccColor3B *v86; // r8
GJBaseGameLayer *m_gameLayer; // rcx
float v88; // xmm3_4
PlayerObject *v89; // rcx
int v90; // ebx
float v91; // xmm0_4
float v92; // xmm6_4
int v93; // r8d
GJBaseGameLayer *v94; // rcx
float v95; // xmm1_4
int v96; // ebx
int v97; // ebx
int v98; // eax
float v99; // xmm1_4
int v100; // eax
int v101; // r8d
int v102; // eax
bool v103; // al
double v104; // xmm1_8
int v105; // r8d
double v106; // xmm0_8
__int128 v107; // [rsp+20h] [rbp-91h] BYREF
__int64 v108; // [rsp+30h] [rbp-81h]
__int64 v109; // [rsp+38h] [rbp-79h]
__int64 v110; // [rsp+40h] [rbp-71h]
struct __timeb64 Time; // [rsp+48h] [rbp-69h] BYREF
m_holdingLeft = a1->m_holdingLeft;
m_holdingRight = a1->m_holdingRight;
if ( m_holdingLeft && m_holdingRight )
{
if ( a1->m_leftPressedFirst )
m_holdingRight = 0;
else
m_holdingLeft = 0;
}
if ( a1->m_isPlatformer && a1->m_isOnSlope )
{
v6 = fabs(a1->m_slopeAngleRadians * 57.29578);
if ( v6 >= 80.0 || v6 >= 40.0 && a1->m_currentSlope->m_isIceBlock )
a1->m_isOnGround = 0;
}
v7 = a1->m_isOnGround ? 0xD5 : 0;
a1->m_jumpRelatedAC2.value = v7;
v8 = (int)(float)((float)((float)rand() / 32767.0) * 1000.0);
a1->m_jumpRelatedAC2.seed = v8;
v9 = v8 + v7;
a1->m_jumpRelatedAC2.random = v8 + v7;
m_gravity = a1->m_gravity;
m_jumpBuffered = a1->m_jumpBuffered;
m_isRobot = a1->m_isRobot;
if ( m_isRobot )
m_jumpBuffered = a1->m_stateRingJump && m_jumpBuffered;
m_isBall = a1->m_isBall;
if ( m_isBall || a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing || a1->m_isSpider )
m_gravity = 0.95819902;
v14 = m_gravity;
m_gravityMod = a1->m_gravityMod;
if ( m_gravityMod != 1.0 )
m_gravity = m_gravity * m_gravityMod;
v16 = 1.0;
m_vehicleSize = a1->m_vehicleSize;
v18 = 0.80000001;
if ( m_vehicleSize != 1.0 )
v16 = 0.80000001;
if ( a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing )
{
if ( m_vehicleSize != 1.0 )
v16 = 0.85000002;
v63 = 8.0 / v16;
v64 = -6.4000001 / v16;
if ( a1->m_isUpsideDown )
{
m_yVelocity = a1->m_yVelocity;
if ( m_yVelocity > 0.0 || m_yVelocity <= (float)-v63 )
{
if ( m_yVelocity < 0.0 || (v64 = -v64, v64 <= m_yVelocity) )
{
LABEL_203:
if ( !a1->m_isShip )
{
if ( a1->m_isBird )
{
if ( a1->m_stateRingJump && a1->m_jumpBuffered )
{
a1->m_stateRingJump = 0;
v76 = 7.0;
if ( a1->m_vehicleSize != 1.0 )
v76 = 8.0;
if ( a1->m_isUpsideDown )
{
v77 = (float)((float)(v76 * -1.0) * v16);
v78 = a1->m_yVelocity <= v77;
}
else
{
v77 = (float)(v16 * v76);
v78 = v77 <= a1->m_yVelocity;
}
if ( !v78 )
{
PlayerObject::setYVelocity(a1, v77, v9);
if ( a1->m_wasOnSlope || a1->m_isOnSlope )
{
m_slopeVelocity = a1->m_slopeVelocity;
if ( m_slopeVelocity > 0.0 )
{
v81 = a1->m_yVelocity;
PlayerObject::setYVelocity(a1, (float)(m_slopeVelocity * 0.5) + v81, v79);
PlayerObject::setYVelocity(a1, fmin(a1->m_yVelocity, (float)(v81 * 1.399999976158142)), v82);
}
}
}
if ( !PlayerObject::levelFlipping(a1) && !a1->m_isHidden )
{
cocos2d::CCParticleSystem::resumeSystem(a1->m_ufoClickParticles);
cocos2d::CCNode::stopActionByTag(a1, 7);
v83 = cocos2d::CCCallFunc::create(a1, PlayerObject::stopBurstEffect);
v84 = cocos2d::CCDelayTime::create(0.12);
v85 = cocos2d::CCSequence::create(v84, v83, 0);
v85->setTag(v85, 7);
cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v85, v86, v64, *((float *)&v107 + 2));
}
m_gameLayer = a1->m_gameLayer;
if ( m_gameLayer )
GJBaseGameLayer::gameEventTriggered(m_gameLayer, UFOJump, 0, a1->m_uniqueID);
}
v88 = 0.80000001;
if ( !PlayerObject::playerIsFallingBugged(a1) )
v88 = 1.2;
v90 = -1;
if ( !a1->m_isUpsideDown )
v90 = 1;
v91 = (float)((float)((float)((float)v90 * (float)(a2 * m_gravity)) * v88) * 0.5) / v16;
}
else
{
if ( !a1->m_isSwing )
{
v97 = -1;
v98 = -1;
if ( !a1->m_isUpsideDown )
v98 = 1;
v99 = (float)v98 * 8.0;
v100 = -1;
if ( a1->m_jumpBuffered )
v100 = 1;
PlayerObject::setYVelocity(a1, (float)(v99 * (float)v100), v9);
v102 = -1;
if ( !a1->m_isUpsideDown )
v102 = 1;
if ( a1->m_jumpBuffered )
v97 = 1;
PlayerObject::setYVelocity(
a1,
a1->m_playerSpeed * a1->m_speedMultiplier * (double)v102 * (double)v97,
v101);
v73 = a1->m_gameLayer;
if ( !v73 )
goto LABEL_280;
v103 = a1->m_jumpBuffered;
if ( a1->m_wasJumpBuffered == v103 )
goto LABEL_280;
m_uniqueID = a1->m_uniqueID;
v75 = WavePush;
if ( !v103 )
v75 = WaveRelease;
goto LABEL_279;
}
if ( a1->m_stateRingJump && a1->m_jumpBuffered )
{
a1->m_stateRingJump = 0;
v92 = a1->m_yVelocity;
PlayerObject::flipGravity(a1, !a1->m_isUpsideDown, 1);
PlayerObject::setYVelocity(a1, (float)(v92 * 0.80000001), v93);
v94 = a1->m_gameLayer;
if ( v94 )
GJBaseGameLayer::gameEventTriggered(v94, SwingSwitch, 0, a1->m_uniqueID);
}
v16 = 1.0;
v18 = 1.0;
v95 = 0.40000001;
if ( a1->m_vehicleSize != 1.0 )
v95 = 0.60000002;
v96 = -1;
if ( !a1->m_isUpsideDown )
v96 = 1;
v91 = (float)((float)v96 * (float)(a2 * m_gravity)) * v95;
v89 = a1;
}
PlayerObject::setYVelocity(v89, (float)-v91 + a1->m_yVelocity, v9);
if ( a1->m_jumpBuffered )
a1->m_isOnGround2 = 0;
goto LABEL_280;
}
v67 = 0.80000001;
if ( a1->m_jumpBuffered )
{
if ( !a1->m_isAccelerating )
{
v67 = -1.0;
v68 = a1->m_jumpBuffered;
LABEL_216:
if ( a1->m_isPlatformer )
m_gravity = m_gravity * 0.80000001;
if ( v67 >= 0.0 )
v14 = m_gravity;
v69 = 0.40000001;
if ( v68 && PlayerObject::playerIsFallingBugged(a1) )
v69 = 0.5;
v70 = -1;
if ( !a1->m_isUpsideDown )
v70 = 1;
PlayerObject::setYVelocity(
a1,
(float)-(float)((float)((float)((float)((float)v70 * (float)(a2 * v14)) * v67) * v69) / v16)
+ a1->m_yVelocity,
v9);
v72 = a1->m_jumpBuffered;
if ( v72 )
a1->m_isOnGround2 = 0;
v73 = a1->m_gameLayer;
if ( !v73 || a1->m_wasJumpBuffered == v72 )
goto LABEL_280;
m_uniqueID = a1->m_uniqueID;
if ( v72 )
v75 = ShipBoostStart;
else
v75 = ShipBoostEnd;
LABEL_279:
GJBaseGameLayer::gameEventTriggered(v73, v75, 0, m_uniqueID);
LABEL_280:
if ( !a1->m_isAccelerating && !a1->m_isDart )
{
v104 = a1->m_yVelocity;
if ( a1->m_isUpsideDown )
{
PlayerObject::setYVelocity(a1, fmax(v104, (float)(-8.0 / v16)), v71);
v106 = (float)((float)(v18 * 8.0) / v16);
}
else
{
PlayerObject::setYVelocity(a1, fmax(v104, (float)((float)(v18 * -8.0) / v16)), v71);
v106 = (float)(8.0 / v16);
}
PlayerObject::setYVelocity(a1, fmin(a1->m_yVelocity, v106), v105);
}
if ( PlayerObject::playerIsFallingBugged(a1) )
a1->m_maybeIsBoosted = 0;
goto LABEL_288;
}
}
else if ( !a1->m_isAccelerating )
{
goto LABEL_213;
}
if ( !a1->m_isUpsideDown )
{
if ( a1->m_yVelocity >= 0.0 )
goto LABEL_213;
goto LABEL_212;
}
if ( a1->m_yVelocity > 0.0 )
LABEL_212:
v67 = -1.0;
LABEL_213:
v68 = a1->m_jumpBuffered;
if ( !v68 && !PlayerObject::playerIsFallingBugged(a1) )
v67 = 1.2;
goto LABEL_216;
}
}
}
else
{
v65 = a1->m_yVelocity;
if ( (v65 < 0.0 || v63 <= v65) && (v65 > 0.0 || v65 <= v64) )
goto LABEL_203;
}
a1->m_isAccelerating = 0;
goto LABEL_203;
}
v19 = 1.0;
if ( m_isBall )
{
v19 = 0.60000002;
}
else if ( a1->m_isSpider )
{
v19 = 0.60000002;
}
else if ( m_isRobot )
{
v19 = 0.89999998;
}
m_platformerMovingLeft = a1->m_platformerMovingLeft;
if ( (!m_platformerMovingLeft || m_holdingLeft) && (!a1->m_platformerMovingRight || m_holdingRight) )
{
LOBYTE(m_isRobot) = 0;
LABEL_48:
v21 = 1;
goto LABEL_49;
}
LOBYTE(m_isRobot) = 1;
if ( a1->m_isSlidingRight != m_platformerMovingLeft && !a1->m_slopeSlidingMaybeRotated )
a1->m_maybeSlidingTime = 0;
if ( a1->m_maybeSlidingTime < 2 )
goto LABEL_48;
v21 = 0;
LABEL_49:
if ( !m_jumpBuffered || !a1->m_isOnGround )
goto LABEL_117;
if ( !a1->m_isSpider )
{
if ( a1->m_isDashing )
goto LABEL_117;
m_isPlatformer = a1->m_isPlatformer;
if ( m_isPlatformer && !v21 )
goto LABEL_117;
a1->m_maybeIsBoosted = 1;
a1->m_isOnGround2 = 0;
a1->m_isOnGround = 0;
a1->m_stateRingJump = 0;
a1->m_touchedPad = 0;
a1->m_accelerationOrSpeed = 0.0;
if ( !m_platformerMovingLeft && !a1->m_platformerMovingRight && a1->m_maybeSlidingTime > 0 )
{
a1->m_maybeSlidingTime = 0;
a1->m_maybeSlidingStartTime = a1->m_totalTime;
}
m_yStart = a1->m_yStart;
if ( a1->m_isRobot )
m_yStart = m_yStart * 0.5;
v24 = v9 - v8;
if ( v24 != 213 )
{
m_yStart = 9999.0;
a1->m_isAccelerating = 1;
}
if ( m_isPlatformer && m_isRobot )
{
if ( a1->m_isMoving
&& (v25 = fabs(a1->m_platformerXVelocity), v26 = a1->m_playerSpeed * a1->m_speedMultiplier, v25 > v26) )
{
m_yStart = v25 / v26 + m_yStart;
}
else
{
m_maybeSlidingTime = a1->m_maybeSlidingTime;
if ( m_maybeSlidingTime > 0 )
m_yStart = m_yStart * (float)(1.0 - (float)((float)m_maybeSlidingTime * 0.30000001));
}
++a1->m_maybeSlidingTime;
}
v28 = -1;
v29 = -1;
if ( !a1->m_isUpsideDown )
v29 = 1;
PlayerObject::setYVelocity(a1, (float)((float)((float)v29 * m_yStart) * v16), v24);
if ( a1->m_wasOnSlope || a1->m_isOnSlope )
{
v31 = a1->m_slopeVelocity;
if ( !a1->m_isUpsideDown )
v28 = 1;
if ( (float)((float)v28 * v31) > 0.0 && (!a1->m_isPlatformer || fabs(a1->m_platformerXVelocity) > 4.0) )
{
v32 = a1->m_yVelocity;
v34 = a1->m_totalTime - a1->m_slopeStartTime;
v35 = 1.0;
if ( v34 < 0.1000000014901161 )
v35 = fmax(0.4000000059604645, v34 * 10.0);
v36 = v31 * v35;
if ( a1->m_isBall )
v36 = a1->m_slopeVelocity;
PlayerObject::setYVelocity(a1, (float)(v36 * 0.25) + v32, v30);
v33 = v32 * 1.399999976158142;
v38 = v33;
v39 = a1->m_yVelocity;
if ( a1->m_isUpsideDown )
v40 = fmax(v39, v38);
else
v40 = fmin(v39, v38);
PlayerObject::setYVelocity(a1, v40, v37);
}
}
a1->m_shouldTryPlacingCheckpoint = 1;
ftime64(&Time);
a1->m_lastJumpTime = (double)(Time.millitm + 1000 * (Time.time & 0xFFFFF)) / 1000.0;
PlayerObject::incrementJumps(a1);
if ( a1->m_isBall )
{
PlayerObject::flipGravity(a1, !a1->m_isUpsideDown, 1);
a1->m_yVelocity = a1->m_yVelocity * 0.6000000238418579;
a1->m_isOnGround3 = 0;
a1->m_jumpBuffered = 0;
}
else
{
if ( a1->m_isRobot )
{
LABEL_98:
v108 = 112;
v109 = 9;
v110 = 15;
*((_QWORD *)&v107 + 1) = 0x6F6F6C5F706D756ALL;
CCAnimatedSprite::tweenToAnimation((__int64)a1->m_robotSprite, (void **)&v107 + 1, 0.1);
LABEL_99:
if ( !a1->m_gameLayer )
goto LABEL_115;
if ( !a1->m_isShip && !a1->m_isBird && !a1->m_isDart && !a1->m_isSwing && !a1->m_isBall )
{
if ( a1->m_isRobot )
goto LABEL_109;
if ( !a1->m_isSpider )
{
v41 = NormalJump;
v42 = a1->m_gameLayer;
goto LABEL_114;
}
}
if ( !a1->m_isRobot )
{
if ( !a1->m_isBall || (v42 = a1->m_gameLayer) == nullptr )
{
LABEL_115:
if ( a1->m_isPlatformer )
PlayerObject::animatePlatformerJump(a1, 1.0);
goto LABEL_288;
}
v41 = BallSwitch;
LABEL_114:
GJBaseGameLayer::gameEventTriggered(v42, v41, 0, a1->m_uniqueID);
goto LABEL_115;
}
LABEL_109:
v42 = a1->m_gameLayer;
if ( !v42 )
goto LABEL_115;
v41 = RobotBoostStart;
goto LABEL_114;
}
if ( !a1->m_isSpider && !a1->m_isLocked && !a1->m_isDashing )
{
*(_WORD *)&a1->m_isRotating = 0;
a1->m_isBallRotating = 0;
a1->m_rotationSpeed = 0.0;
PlayerObject::runNormalRotation(a1, 0, 1.0);
}
}
if ( !a1->m_isRobot )
goto LABEL_99;
goto LABEL_98;
}
if ( !a1->m_isDashing )
{
PlayerObject::spiderTestJump(a1, m_isRobot);
goto LABEL_288;
}
LABEL_117:
if ( a1->m_maybeIsBoosted )
{
v43 = -1;
if ( a1->m_isRobot && a1->m_jumpBuffered && !a1->m_touchedPad )
{
m_accelerationOrSpeed = a1->m_accelerationOrSpeed;
if ( m_accelerationOrSpeed < 1.5 )
{
a1->m_accelerationOrSpeed = (float)(a2 * 0.1) + m_accelerationOrSpeed;
v45 = -1;
if ( !a1->m_isUpsideDown )
v45 = 1;
PlayerObject::setYVelocity(
a1,
(float)((float)((float)v45 * (float)(a2 * m_gravity)) * v19) + a1->m_yVelocity,
v9);
}
}
if ( !a1->m_isUpsideDown )
v43 = 1;
PlayerObject::setYVelocity(a1, a1->m_yVelocity - (float)((float)((float)v43 * (float)(a2 * m_gravity)) * v19), v9);
if ( a1->m_isRobot && a1->m_touchedPad && !a1->m_wasRobotJump )
{
v46 = a1->m_gameLayer;
if ( v46 )
GJBaseGameLayer::gameEventTriggered(v46, RobotBoostStop, 0, a1->m_uniqueID);
}
if ( PlayerObject::playerIsFallingBugged(a1)
|| a1->m_isPlatformer
&& ((v47 = a1->m_yVelocity, a1->m_isUpsideDown)
? (v48 = v47 > 0.0, v49 = v47 == 0.0)
: (v48 = v47 < 0.0, v49 = v47 == 0.0),
v48 || v49) )
{
a1->m_maybeIsBoosted = 0;
a1->m_maybeIsFalling = 1;
a1->m_isOnGround2 = 0;
a1->m_fallStartY = *(float *)(((__int64 (*)(void))a1->getPosition_0)() + 4);
if ( a1->m_isRobot )
{
v108 = 112;
v109 = 9;
v110 = 15;
*((_QWORD *)&v107 + 1) = 0x6F6F6C5F6C6C6166LL;
CCAnimatedSprite::tweenToAnimation((__int64)a1->m_robotSprite, (void **)&v107 + 1, 0.1);
if ( !a1->m_touchedPad )
{
v50 = a1->m_gameLayer;
if ( v50 )
GJBaseGameLayer::gameEventTriggered(v50, RobotBoostStop, 0, a1->m_uniqueID);
}
}
else if ( a1->m_isSpider )
{
v108 = 112;
v109 = 9;
v110 = 15;
*((_QWORD *)&v107 + 1) = 0x6F6F6C5F6C6C6166LL;
CCAnimatedSprite::tweenToAnimation((__int64)a1->m_spiderSprite, (void **)&v107 + 1, 0.1);
}
}
goto LABEL_288;
}
if ( a1->m_isOnGround )
a1->m_fallStartY = *(float *)(((__int64 (__fastcall *)(PlayerObject *, _BOOL8))a1->getPosition_0)(a1, m_isRobot) + 4);
if ( PlayerObject::playerIsFallingBugged(a1)
&& (!a1->m_isPlatformer || a1->m_totalTime - a1->m_lastLandTime >= 0.05000000447034836 || !v21) )
{
a1->m_isOnGround = 0;
}
v53 = -1;
if ( !a1->m_isUpsideDown )
v53 = 1;
PlayerObject::setYVelocity(v51, a1->m_yVelocity - (float)((float)((float)v53 * (float)(a2 * m_gravity)) * v19), v52);
v54 = a1->m_yVelocity;
if ( a1->m_isUpsideDown )
v55 = fmin(v54, 15.0);
else
v55 = fmax(v54, -15.0);
v56 = (double)(int)v55;
if ( v55 != v56 )
v55 = round((v55 - v56) * 1000.0) / 1000.0 + v56;
a1->m_yVelocity = v55;
if ( a1->m_isUpsideDown )
{
v57 = v55 < 0.25;
v58 = v55 == 0.25;
}
else
{
v57 = v55 > -0.25;
v58 = v55 == -0.25;
}
if ( !v57
&& !v58
&& !a1->m_isBall
&& !a1->m_isSpider
&& !a1->m_isRobot
&& !a1->m_isRotating
&& !a1->m_isOnSlope
&& !a1->m_isCollidingWithSlope
&& (!a1->m_isPlatformer || !a1->m_isOnGround2)
&& !a1->m_isLocked
&& !a1->m_isDashing )
{
*(_WORD *)&a1->m_isRotating = 0;
a1->m_isBallRotating = 0;
a1->m_rotationSpeed = 0.0;
if ( a1->m_isBall )
PlayerObject::runBallRotation(a1, 1.0);
else
PlayerObject::runNormalRotation(a1, 0, 1.0);
}
if ( PlayerObject::playerIsFallingBugged(a1) )
{
v59 = a1->m_yVelocity;
if ( a1->m_isUpsideDown )
{
v60 = v59 < 4.0;
v61 = v59 == 4.0;
}
else
{
v60 = v59 > -4.0;
v61 = v59 == -4.0;
}
if ( !v60 && !v61 )
{
if ( a1->m_isRobot && a1->m_isOnGround2 && !a1->m_maybeSpriteRelated )
{
m_robotSprite = (GJSpiderSprite *)a1->m_robotSprite;
}
else
{
if ( !a1->m_isSpider || !a1->m_isOnGround2 || a1->m_maybeSpriteRelated )
goto LABEL_189;
m_robotSprite = a1->m_spiderSprite;
}
v108 = 112;
v109 = 9;
v110 = 15;
*((_QWORD *)&v107 + 1) = 0x6F6F6C5F6C6C6166LL;
CCAnimatedSprite::tweenToAnimation((__int64)m_robotSprite, (void **)&v107 + 1, 0.1);
LABEL_189:
a1->m_isOnGround2 = 0;
}
}
LABEL_288:
a1->m_wasJumpBuffered = a1->m_jumpBuffered;
a1->m_wasRobotJump = a1->m_touchedPad;
}