//
// PlayerObject::lockPlayer from 0x34ddac to 0x34ddf2 (70 bytes)
//
// 2 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x310b6c
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x313ab2
//
// 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)
{
if ( a1->m_isDart )
PlayerObject::placeStreakPoint(a1);
a1->m_isLocked = 1;
PlayerObject::stopRotation(a1, 1, 100);
PlayerObject::releaseButton(a1, Jump);
PlayerObject::deactivateParticle(a1);
a1->m_isOnGround2 = 0;
if ( a1->m_isDart )
PlayerObject::fadeOutStreak2(a1, 0.4);
}