//
// PlayerObject::levelFlipFinished from 0x10021df64 to 0x10021e008 (164 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::flipFinished @ 0x100201160
// > GJBaseGameLayer::flipFinished @ 0x100201174
// > PlayerObject::resetObject @ 0x100226bfc
//
// 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 __fastcall PlayerObject::levelFlipFinished(PlayerObject *a1)
{
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))a1->m_trailingParticles->setLife)(
a1->m_trailingParticles,
a1->m_trailingParticleLife);
if ( a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
if ( a1->m_isDart )
PlayerObject::placeStreakPoint(a1);
}
else if ( a1->m_alwaysShowStreak )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
}
}