//
// PlayerObject::updateStreakBlend from 0x1003ea020 to 0x1003ea082 (98 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::processOptionsTrigger @ 0x10011a132
// > GJBaseGameLayer::processOptionsTrigger @ 0x10011a141
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x10011a342
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x10011a354
// > GJBaseGameLayer::resetLevelVariables @ 0x100138d3f
// > GJBaseGameLayer::resetLevelVariables @ 0x100138d50
//
// 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 12:29:49 +0000
//
__int64 __fastcall PlayerObject::updateStreakBlend(__int64 a1, int a2)
{
__int64 v2; // rdi
__int64 v4[3]; // [rsp+8h] [rbp-18h] BYREF
v4[0] = 0x30300000302LL;
if ( a2 )
v4[0] = 0x100000302LL;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1904) + 1024LL))(*(_QWORD *)(a1 + 1904));
v2 = *(_QWORD *)(a1 + 1920);
*(_BYTE *)(v2 + 440) = a2 ^ 1;
return cocos2d::CCDrawNode::setBlendFunc(v2, v4);
}