//
// GJBaseGameLayer::togglePlayerStreakBlend from 0x9a834c to 0x9a83a4 (88 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x70f870
// > GJBaseGameLayer::processOptionsTrigger @ 0x9a8578
// > GJBaseGameLayer::resetLevelVariables @ 0x9e7938
// > ??> @ 0xac5e8
//
// 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:58:11 +0000
//
__int64 __fastcall GJBaseGameLayer::togglePlayerStreakBlend(__int64 this, unsigned __int8 a2, char a3)
{
__int64 v4; // x19
PlayerObject *v5; // x0
if ( *(unsigned __int8 *)(this + 812) != a2 || a3 )
{
v4 = this;
v5 = *(PlayerObject **)(this + 3256);
*(_BYTE *)(v4 + 812) = a2;
PlayerObject::updateStreakBlend(v5, a2);
return PlayerObject::updateStreakBlend(*(PlayerObject **)(v4 + 3264), a2);
}
return this;
}