//
// EnterEffectInstance::updateTransitions from 0x6d0b10 to 0x6d0bc4 (180 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::updateEnterEffects @ 0x58c9ac
// > GJBaseGameLayer::updateEnterEffects @ 0x58c9ce
// > GJBaseGameLayer::processAreaEffects @ 0x5acb12
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:03 +0000
//
_DWORD *__fastcall EnterEffectInstance::updateTransitions(_DWORD *this, float a2, GJBaseGameLayer *a3)
{
int v3; // r5
float *v6; // r4
float *v7; // r6
float v8; // s14
float v9; // s15
float *v10; // r8
float EnterEasingValue; // r0
v3 = (int)this;
v7 = (float *)(this + 1);
v6 = (float *)*this;
while ( v6 != v7 )
{
v8 = v6[8];
v9 = a2 + v6[9];
v6[9] = v9;
if ( v9 < v8 )
{
EnterEasingValue = GJBaseGameLayer::getEnterEasingValue(
a3,
COERCE_GAMETOOLBOX_(v9 / v8),
v6[10],
v6[11],
*((_DWORD *)v6 + 12));
EnterEffectInstance::setValue(
(float *)v3,
*((_DWORD *)v6 + 5),
v6[6] + (float)((float)(v6[7] - v6[6]) * EnterEasingValue));
this = std::__tree_next *>(v6);
v6 = (float *)this;
}
else
{
EnterEffectInstance::setValue((float *)v3, *((_DWORD *)v6 + 5), v6[7]);
v10 = (float *)std::__tree_next *>(v6);
this = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::erase(
v3,
(int *)v6);
v6 = v10;
}
}
*(_DWORD *)(v3 + 124) = *(_DWORD *)(v3 + 140);
*(_DWORD *)(v3 + 128) = *(_DWORD *)(v3 + 144);
*(_DWORD *)(v3 + 132) = *(_DWORD *)(v3 + 148);
return this;
}