//
// GJBaseGameLayer::togglePlayerStreakBlend from 0x10028de88 to 0x10028ded0 (72 bytes)
//
// 3 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10014a534
// > GJBaseGameLayer::processOptionsTrigger @ 0x10028dd0c
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f414
//
// 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 11:02:01 +0000
//
__int64 __fastcall GJBaseGameLayer::togglePlayerStreakBlend(__int64 result, int a2, int a3)
{
__int64 v4; // x20
if ( *(unsigned __int8 *)(result + 812) != a2 || a3 != 0 )
{
v4 = result;
*(_BYTE *)(result + 812) = a2;
PlayerObject::updateStreakBlend(*(_QWORD *)(result + 3256));
return PlayerObject::updateStreakBlend(*(_QWORD *)(v4 + 3264));
}
return result;
}