//
// PlayerObject::fadeOutStreak2 from 0x1403a0190 to 0x1403a021e (142 bytes)
//
// 19 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x140216cd7
// > GJBaseGameLayer::toggleFlipped @ 0x14024684e
// > MenuGameLayer::resetPlayer @ 0x14033278e
// > PlayerObject::playCompleteEffect @ 0x140384059
// > PlayerObject::setupStreak @ 0x140388c49
// > PlayerObject::toggleVisibility @ 0x14038b4ce
// > PlayerObject::levelWillFlip @ 0x14038b72f
// > PlayerObject::levelWillFlip @ 0x14038b744
// > PlayerObject::startDashing @ 0x140395a16
// > PlayerObject::resetObject @ 0x140397242
// > PlayerObject::playerDestroyed @ 0x140397d61
// > PlayerObject::resetPlayerIcon @ 0x14039b49c
// > PlayerObject::hitGround @ 0x14039c61f
// > PlayerObject::lockPlayer @ 0x14039f3a5
// > PlayLayer::removeAllObjects @ 0x1403bae5d
// > PlayLayer::removeAllObjects @ 0x1403baeee
// > ??> @ 0x1406987dc
// > ??> @ 0x1406987ec
// > ??> @ 0x1406d68e4
//
// 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::fadeOutStreak2(PlayerObject *a1, float a2)
{
float v2; // xmm3_4
struct cocos2d::CCFadeOut *v4; // rbx
__int64 v5; // rax
struct cocos2d::CCSequence *v6; // rbx
cocos2d::ccColor3B *v7; // r8
float v8; // [rsp+20h] [rbp-18h]
if ( !cocos2d::CCNode::getActionByTag(a1->m_waveTrail, 8) )
{
v4 = cocos2d::CCFadeOut::create(a2);
v5 = cocos2d::CCCallFunc::create(a1->m_waveTrail, HardStreak::stopStroke);
v6 = cocos2d::CCSequence::create(v4, v5, 0);
v6->setTag(v6, 8);
cocos2d::CCNode::runAction((CCLightFlash *)a1->m_waveTrail, (cocos2d::CCPoint)v6, v7, v2, v8);
}
}