//
// PlayerObject::deactivateStreak from 0x753af4 to 0x753b60 (108 bytes)
//
// 15 xrefs:
// > PlayLayer::removeAllObjects @ 0x6f7638
// > PlayLayer::removeAllObjects @ 0x6f76f8
// > PlayerObject::levelWillFlip @ 0x753ba8
// > PlayerObject::activateStreak @ 0x753d20
// > PlayerObject::refreshStreakState @ 0x753d64
// > PlayerObject::resetPlayerIcon @ 0x7542bc
// > PlayerObject::toggleVisibility @ 0x7544c4
// > PlayerObject::startDashing @ 0x755c40
// > PlayerObject::hitGround @ 0x75a6f4
// > PlayerObject::resetObject @ 0x75deb8
// > PlayerObject::setupStreak @ 0x766dfc
// > MenuGameLayer::resetPlayer @ 0x7da2a8
// > GJBaseGameLayer::removePlayer2 @ 0x99e91c
// > GJBaseGameLayer::toggleFlipped @ 0x9e7e9c
// > ??> @ 0xaae18
//
// 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::deactivateStreak(cocos2d::CCMotionStreak **this, unsigned __int8 a2)
{
__int64 result; // x0
int v4; // w0
float v5; // s0
if ( *((unsigned __int8 *)this + 2273) <= (unsigned int)a2 )
cocos2d::CCMotionStreak::stopStroke(*(this + 238));
result = *((unsigned __int8 *)this + 2352);
if ( *((_BYTE *)this + 2352) )
{
v4 = *((unsigned __int8 *)this + 1972);
*((_BYTE *)this + 2352) = 0;
if ( v4 )
v5 = 0.2;
else
v5 = 0.6;
return PlayerObject::fadeOutStreak2(this, v5);
}
return result;
}