//
// GJBaseGameLayer::getEnterEasingValue from 0x85846c to 0x8584c4 (88 bytes)
//
// 15 xrefs:
// > PlayLayer::applyCustomEnterEffect @ 0x5cd670
// > PlayLayer::applyCustomEnterEffect @ 0x5cd6d8
// > PlayLayer::applyCustomEnterEffect @ 0x5cd748
// > PlayLayer::applyCustomEnterEffect @ 0x5cd7cc
// > PlayLayer::applyCustomEnterEffect @ 0x5cd904
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x87123c
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x8717f8
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871838
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871864
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b70
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b88
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x874074
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x87408c
// > EnterEffectInstance::updateTransitions @ 0xa6be58
// > ??> @ 0xbe0c8
//
// 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 GJBaseGameLayer::getEnterEasingValue(GJBaseGameLayer *a1, float a2, int a3, float a4, int a5)
{
if ( a5 != -1 )
{
if ( a5 == -2 )
return GameToolbox::getEasedValue(a2, a3, a4);
else
return a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + a5]
+ (float)((float)((float)(a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + 1 + a5]
- a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + a5])
* (float)(a2 - (float)((float)(int)(float)(a2 * 100.0) * 0.01)))
* 100.0);
}
return a2;
}