// // PlayerObject::lockPlayer from 0x14039f2d0 to 0x14039f3b0 (224 bytes) // // 3 xrefs: // > PlayLayer::playEndAnimationToPos @ 0x1403abc6e // > PlayLayer::playPlatformerEndAnimationToPos @ 0x1403ac50b // > @ 0x1406d6830 // // 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::lockPlayer(PlayerObject *a1) { bool v2; // zf int v3; // [rsp+30h] [rbp+8h] BYREF if ( a1->m_isDart ) PlayerObject::placeStreakPoint(a1); v2 = !a1->m_inputsLocked; a1->m_isLocked = 1; *(_WORD *)&a1->m_isRotating = 0; a1->m_isBallRotating = 0; a1->m_rotationSpeed = 0.0; if ( v2 ) { v3 = 1; *(_BYTE *)sub_1400CDBF0((__int64 *)&a1->m_holdingButtons, &v3) = 0; } if ( !a1->m_controlsDisabled ) { if ( a1->m_jumpBuffered ) PlayerObject::placeStreakPoint(a1); v2 = !a1->m_isDashing; *(_WORD *)&a1->m_jumpBuffered = 0; a1->m_touchedPad = 1; if ( !v2 ) PlayerObject::stopDashing(a1); } if ( a1->m_hasGroundParticles ) cocos2d::CCParticleSystem::stopSystem(a1->m_playerGroundParticles); v2 = !a1->m_isDart; a1->m_hasGroundParticles = 0; a1->m_isOnGround2 = 0; if ( !v2 ) PlayerObject::fadeOutStreak2(a1, 0.40000001); }
GD Web Decomp Icon

GD Web Decomp

Raw Source