//
// PlayerObject::createFadeOutDartStreak from 0x100415950 to 0x100415a11 (193 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x1001240f4
// > PlayerObject::doReversePlayer @ 0x1004024e2
// > PlayerObject::rotateGameplay @ 0x1004125c8
//
// 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::createFadeOutDartStreak(PlayerObject *a1)
{
HardStreak *Duplicate; // rbx
__int64 v3; // r15
unsigned int v4; // eax
__int64 v5; // rax
cocos2d::CCFadeTo *v6; // r14
cocos2d::CCCallFunc *v7; // rax
cocos2d::CCSequence *v8; // rax
Duplicate = HardStreak::createDuplicate(a1->m_waveTrail);
v3 = ((__int64 (__fastcall *)(HardStreak *))a1->m_waveTrail->getParent)(a1->m_waveTrail);
v4 = ((__int64 (__fastcall *)(HardStreak *))a1->m_waveTrail->getZOrder)(a1->m_waveTrail);
(*(void (__fastcall **)(__int64, HardStreak *, _QWORD))(*(_QWORD *)v3 + 448LL))(v3, Duplicate, v4);
v5 = ((__int64 (__fastcall *)(HardStreak *))a1->m_waveTrail->getPosition)(a1->m_waveTrail);
((void (__fastcall *)(HardStreak *, __int64))Duplicate->setPosition)(Duplicate, v5);
HardStreak::resumeStroke(Duplicate);
HardStreak::scheduleAutoUpdate(Duplicate);
v6 = cocos2d::CCFadeTo::create(0.5, 0);
v7 = cocos2d::CCCallFunc::create(Duplicate, (cocos2d::SEL_CallFunc)0x209uLL);
v8 = sub_1003B5760(v6, v7, 0);
cocos2d::CCNode::runAction(Duplicate, v8);
}