//
// PlayerObject::deactivateStreak from 0x438dc4 to 0x438e08 (68 bytes)
//
// 14 xrefs:
// > PlayLayer::removeAllObjects @ 0x4027ca
// > PlayLayer::removeAllObjects @ 0x4027fa
// > PlayerObject::levelWillFlip @ 0x438e3c
// > PlayerObject::activateStreak @ 0x438eca
// > PlayerObject::refreshStreakState @ 0x438f4a
// > PlayerObject::resetPlayerIcon @ 0x4392bc
// > PlayerObject::toggleVisibility @ 0x4393d0
// > PlayerObject::startDashing @ 0x43a20e
// > PlayerObject::hitGround @ 0x43c13e
// > PlayerObject::resetObject @ 0x440348
// > PlayerObject::setupStreak @ 0x44709c
// > MenuGameLayer::resetPlayer @ 0x492456
// > GJBaseGameLayer::removePlayer2 @ 0x58f2c6
// > GJBaseGameLayer::toggleFlipped @ 0x5b9d14
//
// 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::deactivateStreak(int this, int a2)
{
int v2; // r4
int v3; // r1
v2 = this;
if ( !*(_BYTE *)(this + 1809) || a2 )
this = cocos2d::CCMotionStreak::stopStroke(*(cocos2d::CCMotionStreak **)(this + 1544));
if ( *(_BYTE *)(v2 + 1888) )
{
*(_BYTE *)(v2 + 1888) = 0;
if ( *(_BYTE *)(v2 + 1604) )
v3 = 1045220557;
else
v3 = 1058642330;
return PlayerObject::fadeOutStreak2((cocos2d::CCNode **)v2, (cocos2d::CCFadeOut *)v3);
}
return this;
}