//
// PlayerObject::lockPlayer from 0x7668b4 to 0x76692c (120 bytes)
//
// 3 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x6f3f04
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x7043dc
// > ??> @ 0x8e948
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:07 +0000
//
__int64 __fastcall PlayerObject::lockPlayer(PlayerObject *this)
{
__int64 result; // x0
if ( *((_BYTE *)this + 2420) )
PlayerObject::placeStreakPoint(this);
*((_BYTE *)this + 2530) = 1;
PlayerObject::stopRotation(this);
PlayerObject::releaseButton((__int64)this, 1);
PlayerObject::deactivateParticle((cocos2d::CCParticleSystem **)this);
*((_BYTE *)this + 2500) = 0;
result = *((unsigned __int8 *)this + 2420);
if ( *((_BYTE *)this + 2420) )
return PlayerObject::fadeOutStreak2((cocos2d::CCNode **)this, 0.4);
return result;
}