//
// GJBaseGameLayer::togglePlayerStreakBlend from 0x595c3c to 0x595c6a (46 bytes)
//
// 3 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x411a8c
// > GJBaseGameLayer::processOptionsTrigger @ 0x595ca6
// > GJBaseGameLayer::resetLevelVariables @ 0x5b9932
//
// 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:53:08 +0000
//
int __fastcall GJBaseGameLayer::togglePlayerStreakBlend(int this, int a2, int a3)
{
int v3; // r5
PlayerObject *v5; // r0
v3 = this;
if ( *(unsigned __int8 *)(this + 716) != a2 || a3 )
{
v5 = *(PlayerObject **)(this + 2076);
*(_BYTE *)(v3 + 716) = a2;
PlayerObject::updateStreakBlend(v5, a2);
return PlayerObject::updateStreakBlend(*(PlayerObject **)(v3 + 2080), a2);
}
return this;
}