//
// GJBaseGameLayer::buttonIDToButton from 0x476c68 to 0x476cb4 (76 bytes)
//
// 0 xrefs:
//
// 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)
{
if ( a2 == 7 )
return 2;
if ( a2 > 7 )
{
if ( a2 == 10 )
return 5;
if ( a2 > 10 )
{
if ( (unsigned int)(a2 - 98) <= 1 )
return a2;
return 1;
}
if ( a2 != 8 )
return 4;
return 3;
}
if ( a2 == 3 )
return 3;
if ( a2 > 3 )
{
if ( a2 != 4 )
{
if ( a2 != 5 )
return 1;
return 5;
}
return 4;
}
if ( a2 != 2 )
return 1;
return 2;
}