//
// PlayerObject::levelFlipFinished from 0x342410 to 0x342462 (82 bytes)
//
// 3 xrefs:
// > PlayerObject::resetObject @ 0x347c96
// > GJBaseGameLayer::flipFinished @ 0x47956c
// > GJBaseGameLayer::flipFinished @ 0x47957a
//
// 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::levelFlipFinished(PlayerObject *a1)
{
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _DWORD))a1->m_trailingParticles->setLife)(
a1->m_trailingParticles,
LODWORD(a1->m_trailingParticleLife));
if ( PlayerObject::isFlying(a1) )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
if ( a1->m_isDart )
PlayerObject::placeStreakPoint(a1);
}
else if ( a1->m_alwaysShowStreak )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
}
}