//
// PlayerObject::updateStreakBlend from 0x43501c to 0x435082 (102 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x595c56
// > GJBaseGameLayer::togglePlayerStreakBlend @ 0x595c64
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:18 +0000
//
int __fastcall PlayerObject::updateStreakBlend(PlayerObject *this, int a2)
{
char v3; // r6
int v5; // [sp+4h] [bp-10h] BYREF
int v6; // [sp+8h] [bp-Ch]
v3 = a2;
v5 = 770;
v6 = 771;
if ( a2 )
{
v5 = 770;
v6 = 1;
}
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 386) + 512))(*((_DWORD *)this + 386), v5, v6);
*(_BYTE *)(*((_DWORD *)this + 388) + 364) = v3 ^ 1;
return cocos2d::CCDrawNode::setBlendFunc(*((_DWORD *)this + 388), &v5);
}