//
// GJBaseGameLayer::getEnterEasingKey from 0x99a950 to 0x99a99c (76 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::generateEnterEasingBuffer @ 0x9c6dc0
// > ??> @ 0x8d820
//
// This function is hookable on this platform (idp: arm, 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:58:04 +0000
//
__int64 __fastcall GJBaseGameLayer::getEnterEasingKey(GJBaseGameLayer *this, int a2, float a3)
{
__int64 result; // x0
switch ( a2 )
{
case 0:
result = 0xFFFFFFFFLL;
break;
case 3:
case 7:
case 8:
case 9:
result = 4294967294LL;
break;
default:
result = (unsigned int)(int)(float)((float)(10000 * a2) + (float)(a3 * 100.0));
break;
}
return result;
}