//
// PlayerObject::lockPlayer from 0x446c48 to 0x446c8e (70 bytes)
//
// 2 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x40009c
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x40842e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:30 +0000
//
int __fastcall PlayerObject::lockPlayer(PlayerObject *this, int a2, int a3)
{
int v4; // r2
int result; // r0
if ( *((_BYTE *)this + 1956) )
PlayerObject::placeStreakPoint(this, a2, a3, *((unsigned __int8 *)this + 1956));
*((_BYTE *)this + 2066) = 1;
PlayerObject::stopRotation(this, 1, 100);
PlayerObject::releaseButton((int)this, 1, v4);
result = PlayerObject::deactivateParticle((int)this);
*((_BYTE *)this + 2036) = 0;
if ( *((_BYTE *)this + 1956) )
return PlayerObject::fadeOutStreak2((cocos2d::CCNode **)this, (cocos2d::CCFadeOut *)0x3ECCCCCD);
return result;
}