//
// GJBaseGameLayer::getEnterEasingValue from 0x99a9a0 to 0x99a9f8 (88 bytes)
//
// 15 xrefs:
// > PlayLayer::applyCustomEnterEffect @ 0x6f5518
// > PlayLayer::applyCustomEnterEffect @ 0x6f5580
// > PlayLayer::applyCustomEnterEffect @ 0x6f55f0
// > PlayLayer::applyCustomEnterEffect @ 0x6f5674
// > PlayLayer::applyCustomEnterEffect @ 0x6f57ac
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x9b45cc
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x9b4bf8
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x9b4c40
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x9b4c6c
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x9b5ec0
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x9b5ed8
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x9b7408
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x9b7420
// > EnterEffectInstance::updateTransitions @ 0xba2fd4
// > ??> @ 0xf7c90
//
// 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
//
float __fastcall GJBaseGameLayer::getEnterEasingValue(
GJBaseGameLayer *this,
float result,
unsigned int a3,
float a4,
int a5)
{
if ( a5 != -1 )
{
if ( a5 == -2 )
return GameToolbox::getEasedValue((GameToolbox *)a3, result, a4);
else
return *(float *)(*((_QWORD *)this + 1517) + 4LL * ((int)(float)(result * 100.0) + a5))
+ (float)((float)((float)(*(float *)(*((_QWORD *)this + 1517) + 4LL * ((int)(float)(result * 100.0) + a5 + 1))
- *(float *)(*((_QWORD *)this + 1517) + 4LL * ((int)(float)(result * 100.0) + a5)))
* (float)(result - (float)((float)(int)(float)(result * 100.0) * 0.01)))
* 100.0);
}
return result;
}