//
// PlayerObject::updateStreakBlend from 0x1003fce40 to 0x1003fcea2 (98 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::processOptionsTrigger @ 0x10013cc82
// > GJBaseGameLayer::processOptionsTrigger @ 0x10013cc91
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x10013ce92
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x10013cea4
// > GJBaseGameLayer::resetLevelVariables @ 0x10015987f
// > GJBaseGameLayer::resetLevelVariables @ 0x100159890
//
// 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 __fastcall PlayerObject::updateStreakBlend(PlayerObject *a1, bool a2)
{
HardStreak *m_waveTrail; // rdi
__int64 v3; // [rsp+8h] [rbp-18h] BYREF
v3 = 0x30300000302LL;
if ( a2 )
v3 = 0x100000302LL;
((void (__fastcall *)(cocos2d::CCMotionStreak *))a1->m_regularTrail->setBlendFunc)(a1->m_regularTrail);
m_waveTrail = a1->m_waveTrail;
m_waveTrail->m_isSolid = !a2;
cocos2d::CCDrawNode::setBlendFunc(m_waveTrail, (const cocos2d::ccBlendFunc *)&v3);
}