//
// PlayerObject::updateStreakBlend from 0x1404e6ee0 to 0x1404e6f50 (112 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::processOptionsTrigger @ 0x14032ba11
// > GJBaseGameLayer::processOptionsTrigger @ 0x14032ba21
// > PlayLayer::loadFromCheckpoint @ 0x140516e45
// > PlayLayer::loadFromCheckpoint @ 0x140516e54
// > ??> @ 0x140929c24
// > ??> @ 0x140929c30
//
// This function is hookable on this platform (idp: pc, 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:33:11 +0000
//
void __fastcall PlayerObject::updateStreakBlend(__int64 a1, char a2)
{
int v3; // eax
__int64 v5; // rcx
__int64 v6; // [rsp+30h] [rbp+8h] BYREF
LODWORD(v6) = 770;
v3 = 771;
if ( a2 )
v3 = 1;
v5 = *(_QWORD *)(a1 + 1960);
HIDWORD(v6) = v3;
(**(void (__fastcall ***)(__int64, __int64))(v5 + 344))(v5 + 344, v6);
*(_BYTE *)(*(_QWORD *)(a1 + 1976) + 440LL) = a2 ^ 1;
cocos2d::CCDrawNode::setBlendFunc(*(cocos2d::CCDrawNode **)(a1 + 1976), (const struct cocos2d::_ccBlendFunc *)&v6);
}