//
// sub_1000497DC from 0x1000497dc to 0x10004981c (64 bytes)
//
// 1 xrefs:
// > UILayer::refreshDpad @ 0x1000498b4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char *__fastcall sub_1000497DC(int a1, int a2)
{
int v2; // w19
GameManager *v3; // x0
__int64 v4; // x8
v2 = a2 + a1;
v3 = GameManager::sharedState();
v4 = 1212;
if ( (unsigned int)(v2 - 1) < 4 )
v4 = 40LL * (unsigned int)(v2 - 1) + 1252;
return (char *)v3 + v4;
}