//
// PlayerObject::fadeOutStreak2 from 0x438d64 to 0x438dc0 (92 bytes)
//
// 4 xrefs:
// > PlayerObject::deactivateStreak @ 0x438e02
// > PlayerObject::playerDestroyed @ 0x43bc46
// > PlayerObject::lockPlayer @ 0x446c88
// > PlayerObject::playCompleteEffect @ 0x69e40c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:20 +0000
//
int __fastcall PlayerObject::fadeOutStreak2(cocos2d::CCNode **this, cocos2d::CCFadeOut *a2)
{
int result; // r0
float v5; // r1
cocos2d::CCSequence *v6; // r6
cocos2d::CCFiniteTimeAction *v7; // r0
int v8; // r3
cocos2d::CCAction *v9; // r5
result = cocos2d::CCNode::getActionByTag(*(this + 388), 8);
if ( !result )
{
v6 = (cocos2d::CCSequence *)cocos2d::CCFadeOut::create(a2, v5);
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(*(this + 388), HardStreak::stopStroke, 0);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v6, v7, 0, v8, HardStreak::stopStroke, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v9 + 36))(v9, 8);
return cocos2d::CCNode::runAction(*(this + 388), v9);
}
return result;
}