//
// PlayerObject::fadeOutStreak2 from 0x100400d40 to 0x100400dcb (139 bytes)
//
// 1 xrefs:
// > PlayerObject::playCompleteEffect @ 0x1001f757c
//
// 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:02 +0000
//
__int64 __fastcall PlayerObject::fadeOutStreak2(__int64 a1, float a2)
{
__int64 result; // rax
_OWORD *v3; // r14
__int64 v4; // rax
__int64 v5; // r14
result = cocos2d::CCNode::getActionByTag(*(_QWORD *)(a1 + 1920), 8);
if ( !result )
{
v3 = cocos2d::CCFadeOut::create((__m128)LODWORD(a2));
v4 = cocos2d::CCCallFunc::create(*(_QWORD *)(a1 + 1920), HardStreak::stopStroke, 0);
v5 = sub_10039EB60((__int64)v3, v4, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 8);
return cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 1920), v5);
}
return result;
}