//
// GJBaseGameLayer::getEnterEasingValue from 0x10027d43c to 0x10027d498 (92 bytes)
//
// 10 xrefs:
// > sub_10005471C @ 0x100054778
// > sub_1001460E4 @ 0x100146410
// > sub_1001460E4 @ 0x100146470
// > sub_1001460E4 @ 0x1001464c0
// > sub_1001460E4 @ 0x10014652c
// > sub_1001460E4 @ 0x10014657c
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1002911dc
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1002915cc
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291a40
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291b68
//
// 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 11:01:53 +0000
//
float __fastcall GJBaseGameLayer::getEnterEasingValue(__int64 a1, int a2, int a3, double EasedValue, float a5)
{
float *v5; // x8
if ( a3 != -1 )
{
if ( a3 == -2 )
{
EasedValue = GameToolbox::getEasedValue(a2, EasedValue, a5);
}
else
{
v5 = (float *)(*(_QWORD *)(a1 + 12136) + 4LL * ((int)(float)(*(float *)&EasedValue * 100.0) + a3));
*(float *)&EasedValue = *v5
+ (float)((float)((float)(*(float *)&EasedValue
+ (float)((float)(int)(float)(*(float *)&EasedValue * 100.0) * -0.01))
* (float)(v5[1] - *v5))
* 100.0);
}
}
return *(float *)&EasedValue;
}