//
// PlayerObject::levelWillFlip from 0x14038b6d0 to 0x14038b74f (127 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::toggleFlipped @ 0x14024695c
// > GJBaseGameLayer::toggleFlipped @ 0x140246971
// > ??> @ 0x1406d5fd8
//
// 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::levelWillFlip(PlayerObject *a1)
{
bool v2; // zf
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_trailingParticles->setLife)(a1->m_trailingParticles);
cocos2d::CCMotionStreak::stopStroke(a1->m_regularTrail);
if ( a1->m_fadeOutStreak )
{
v2 = !a1->m_playEffects;
a1->m_fadeOutStreak = 0;
if ( v2 )
PlayerObject::fadeOutStreak2(a1, 0.60000002);
else
PlayerObject::fadeOutStreak2(a1, 0.2);
}
}