//
// PlayerObject::fadeOutStreak2 from 0x753a6c to 0x753af4 (136 bytes)
//
// 6 xrefs:
// > PlayerObject::deactivateStreak @ 0x753b3c
// > PlayerObject::deactivateStreak @ 0x753b50
// > PlayerObject::playerDestroyed @ 0x759168
// > PlayerObject::lockPlayer @ 0x766920
// > PlayerObject::playCompleteEffect @ 0xb53b34
// > ??> @ 0xc69d0
//
// This function is hookable on this platform (idp: arm, 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:52:56 +0000
//
__int64 __fastcall PlayerObject::fadeOutStreak2(cocos2d::CCNode **this, float a2)
{
__int64 result; // x0
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x20
result = cocos2d::CCNode::getActionByTag(*(this + 240), 8);
if ( !result )
{
v4 = (cocos2d::CCSequence *)cocos2d::CCFadeOut::create(nullptr, a2);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(*(this + 240), HardStreak::stopStroke, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, __int64))(*(_QWORD *)v6 + 72LL))(v6, 8);
return cocos2d::CCNode::runAction(*(this + 240), v6);
}
return result;
}