//
// PlayerObject::fadeOutStreak2 from 0x1002c48c0 to 0x1002c495c (156 bytes)
//
// 4 xrefs:
// > sub_100065528 @ 0x100065560
// > PlayerObject::deactivateStreak @ 0x1002b60ec
// > PlayerObject::playerDestroyed @ 0x1002c4800
// > sub_1002C9560 @ 0x1002c95fc
//
// 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 11:02:32 +0000
//
double __fastcall PlayerObject::fadeOutStreak2(__int64 a1, float a2)
{
double result; // d0
float *v5; // x20
char v6; // w0
__int64 v7; // x1
__int64 v8; // x2
__int64 v9; // x3
__int64 v10; // x4
__int64 v11; // x5
__int64 v12; // x6
__int64 v13; // x7
__int64 v14; // x20
if ( !cocos2d::CCNode::getActionByTag(*(_QWORD *)(a1 + 1920), 8) )
{
v5 = cocos2d::CCFadeOut::create(a2);
v6 = (unsigned __int8)cocos2d::CCCallFunc::create(*(_QWORD *)(a1 + 1920), (__int64)HardStreak::stopStroke, 0);
v14 = sub_10021D420((__int64)v5, v7, v8, v9, v10, v11, v12, v13, v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 72LL))(v14, 8);
*(_QWORD *)&result = cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 1920), v14).n128_u64[0];
}
return result;
}