//
// GJBaseGameLayer::buttonIDToButton from 0x8664e0 to 0x866534 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x34188
//
// 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
//
int GJBaseGameLayer::buttonIDToButton(GJBaseGameLayer *a1, int a2)
{
int result; // w0
switch ( a2 )
{
case 2:
case 7:
result = 2;
break;
case 3:
case 8:
result = 3;
break;
case 4:
case 9:
result = 4;
break;
case 5:
case 10:
result = 5;
break;
case 98:
case 99:
result = a2;
break;
default:
result = 1;
break;
}
return result;
}