//
// sub_100408220 from 0x100408220 to 0x10040826d (77 bytes)
//
// 2 xrefs:
// > PlayLayer::resume @ 0x10008dd1a
// > PlayLayer::resume @ 0x10008dd2f
//
// This function is hookable on this platform (idp: pc, 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:30:05 +0000
//
__int64 __fastcall sub_100408220(__int64 a1)
{
const std::string::value_type *v1; // r14
__int64 v2; // rax
__int64 result; // rax
v1 = "0196";
if ( *(_BYTE *)(a1 + 2420) )
v1 = "0197";
v2 = GameManager::sharedState();
result = GameManager::getGameVariable(v2, v1);
if ( (_BYTE)result )
return PlayerObject::deactivateStreak(a1, 1);
return result;
}