//
// PlayerObject::updateStreakBlend from 0x74e8cc to 0x74e970 (164 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x9a838c
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x9a83a0
// > ??> @ 0x58210
//
// This function is hookable on this platform (idp: arm, 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:52:54 +0000
//
__int64 __fastcall PlayerObject::updateStreakBlend(PlayerObject *this, char a2)
{
__int64 v5; // [xsp+30h] [xbp+30h] BYREF
LODWORD(v5) = 770;
if ( a2 )
HIDWORD(v5) = 1;
else
HIDWORD(v5) = 771;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 238) + 1024LL))(*((_QWORD *)this + 238), v5);
*(_BYTE *)(*((_QWORD *)this + 240) + 440LL) = a2 ^ 1;
cocos2d::CCDrawNode::setBlendFunc(*((_QWORD *)this + 240), &v5);
return _stack_chk_guard;
}