//
// GJBaseGameLayer::getEnterEasingValue from 0x1001e2d88 to 0x1001e2de4 (92 bytes)
//
// 10 xrefs:
// > EnterEffectInstance::updateTransitions @ 0x10004bfa8
// > PlayLayer::applyCustomEnterEffect @ 0x10011d3b8
// > PlayLayer::applyCustomEnterEffect @ 0x10011d418
// > PlayLayer::applyCustomEnterEffect @ 0x10011d468
// > PlayLayer::applyCustomEnterEffect @ 0x10011d4d4
// > PlayLayer::applyCustomEnterEffect @ 0x10011d524
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4f50
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f533c
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f57ac
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f58d4
//
// 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
//
float __fastcall GJBaseGameLayer::getEnterEasingValue(GJBaseGameLayer *a1, float a2, int a3, float a4, int a5)
{
float *v5; // x8
if ( a5 != -1 )
{
if ( a5 == -2 )
{
return GameToolbox::getEasedValue(a2, a3, a4);
}
else
{
v5 = &a1->m_enterEasingValues.__begin_[(int)(float)(a2 * 100.0) + a5];
return *v5
+ (float)((float)((float)(a2 + (float)((float)(int)(float)(a2 * 100.0) * -0.01)) * (float)(v5[1] - *v5))
* 100.0);
}
}
return a2;
}