//
// TouchControlEditLayer::globalDpad from 0x7a2842 to 0x7a2884 (66 bytes)
//
// 1 xrefs:
// > TouchControlEditLayer::buildNodes @ 0x7a40b8
//
// 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:59:55 +0000
//
int __fastcall TouchControlEditLayer::globalDpad(TouchControlEditLayer *this, int a2)
{
int result; // r0
switch ( a2 )
{
case 1:
result = GameManager::sharedState(this) + 1048;
break;
case 2:
result = GameManager::sharedState(this) + 1088;
break;
case 3:
result = GameManager::sharedState(this) + 1128;
break;
case 4:
result = GameManager::sharedState(this) + 1168;
break;
default:
result = GameManager::sharedState(this) + 1008;
break;
}
return result;
}