//
// PlayerObject::createFadeOutDartStreak from 0x100402880 to 0x100402941 (193 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x1001018e4
// > PlayerObject::doReversePlayer @ 0x1003ef6d2
// > PlayerObject::rotateGameplay @ 0x1003ff764
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:03 +0000
//
__int64 __fastcall PlayerObject::createFadeOutDartStreak(__int64 a1)
{
_QWORD *Duplicate; // rbx
__int64 v3; // r15
unsigned int v4; // eax
__int64 v5; // rax
_OWORD *v6; // r14
__int64 v7; // rax
__int64 v8; // rax
Duplicate = HardStreak::createDuplicate(*(_QWORD *)(a1 + 1920));
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1920) + 512LL))(*(_QWORD *)(a1 + 1920));
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1920) + 104LL))(*(_QWORD *)(a1 + 1920));
(*(void (__fastcall **)(__int64, _QWORD *, _QWORD))(*(_QWORD *)v3 + 464LL))(v3, Duplicate, v4);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1920) + 192LL))(*(_QWORD *)(a1 + 1920));
(*(void (__fastcall **)(_QWORD *, __int64))(*Duplicate + 184LL))(Duplicate, v5);
HardStreak::resumeStroke((__int64)Duplicate);
HardStreak::scheduleAutoUpdate((__int64)Duplicate);
v6 = cocos2d::CCFadeTo::create(0, (__m128)0x3F000000u);
v7 = cocos2d::CCCallFunc::create(Duplicate, 537, 0);
v8 = sub_10039EB60((__int64)v6, v7, 0);
return cocos2d::CCNode::runAction((__int64)Duplicate, v8);
}