//
// getDpadSetting from 0x3fc63c to 0x3fc682 (70 bytes)
//
// 1 xrefs:
// > UILayer::refreshDpad @ 0x3fd848
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:21 +0000
//
int __fastcall getDpadSetting(GameManager *a1, int a2)
{
int result; // r0
if ( a2 )
a1 = (GameManager *)((char *)a1 + 1);
switch ( (unsigned int)a1 )
{
case 1u:
result = GameManager::sharedState(a1) + 1048;
break;
case 2u:
result = GameManager::sharedState(a1) + 1088;
break;
case 3u:
result = GameManager::sharedState(a1) + 1128;
break;
case 4u:
result = GameManager::sharedState(a1) + 1168;
break;
default:
result = GameManager::sharedState(a1) + 1008;
break;
}
return result;
}