//
// PlayerObject::updateStreakBlend from 0x622a04 to 0x622aa8 (164 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x865cb4
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x865cc8
// > ??> @ 0x3cdc8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void PlayerObject::updateStreakBlend(PlayerObject *a1, bool a2)
{
HardStreak *m_waveTrail; // x0
cocos2d::ccBlendFunc v5; // [xsp+30h] [xbp+30h] BYREF
v5.src = 770;
if ( a2 )
v5.dst = 1;
else
v5.dst = 771;
((void (__fastcall *)(_QWORD, _QWORD))a1->m_regularTrail->setBlendFunc)(a1->m_regularTrail, v5);
m_waveTrail = a1->m_waveTrail;
m_waveTrail->m_isSolid = !a2;
cocos2d::CCDrawNode::setBlendFunc(m_waveTrail, &v5);
}