//
// GJBaseGameLayer::getEnterEasingKey from 0x46de40 to 0x46de82 (66 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::generateEnterEasingBuffer @ 0x494afe
//
// 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::getEnterEasingKey(GJBaseGameLayer *a1, int a2, float a3)
{
int result; // r0
switch ( a2 )
{
case 0:
result = -1;
break;
case 3:
case 7:
case 8:
case 9:
result = -2;
break;
default:
result = (int)(float)((float)(10000 * a2) + (float)(a3 * 100.0));
break;
}
return result;
}