//
// sub_100979680 from 0x100979680 to 0x1009796b1 (49 bytes)
//
// 0 xrefs:
//
// 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:38:56 +0000
//
__int64 __fastcall sub_100979680(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // rbx
__int64 v4; // rdx
v2 = GameManager::sharedState();
v3 = (unsigned int)(a2 - 1);
v4 = 1316;
if ( (unsigned int)v3 < 4 )
v4 = 40 * v3 + 1356;
return v4 + v2;
}