//
// GJBaseGameLayer::buttonIDToButton from 0x100134820 to 0x100134861 (65 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::parseRecording @ 0x100135608
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:24:49 +0000
//
__int64 __fastcall GJBaseGameLayer::buttonIDToButton(__int64 a1, unsigned int a2)
{
__int64 result; // rax
result = a2;
switch ( a2 )
{
case 2u:
case 7u:
result = 2;
break;
case 3u:
case 8u:
result = 3;
break;
case 4u:
case 9u:
result = 4;
break;
case 5u:
case 0xAu:
result = 5;
break;
case 0x62u:
case 0x63u:
return result;
default:
result = 1;
break;
}
return result;
}