//
// PlayerObject::createFadeOutDartStreak from 0x100228f54 to 0x100229030 (220 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x1001e6390
// > PlayerObject::doReversePlayer @ 0x10021d2e8
// > PlayerObject::rotateGameplay @ 0x100226d34
//
// 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; // x19
__int64 v3; // x21
__int64 v4; // x0
__int64 v5; // x0
cocos2d::CCFadeTo *v6; // x20
char v7; // w0
__int64 v8; // x1
__int64 v9; // x2
__int64 v10; // x3
__int64 v11; // x4
__int64 v12; // x5
__int64 v13; // x6
__int64 v14; // x7
cocos2d::CCSequence *v15; // x1
cocos2d::SEL_CallFunc v16; // 0:x1.16
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 *, __int64))(*(_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);
v16.ptr = (void (*)(void))520;
v16.adj = 1;
v7 = (unsigned __int8)cocos2d::CCCallFunc::create(Duplicate, v16);
v15 = sub_10018A494(v6, v8, v9, v10, v11, v12, v13, v14, v7);
cocos2d::CCNode::runAction(Duplicate, v15);
}