//
// PlayerObject::lockPlayer from 0x63b7fc to 0x63b874 (120 bytes)
//
// 3 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x5cc1bc
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x5d17f8
// > ??> @ 0x69480
//
// 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);
}