//
// GJBaseGameLayer::updateEnterEffects from 0x99a8a8 to 0x99a950 (168 bytes)
//
// 3 xrefs:
// > PlayLayer::updateVisibility @ 0x701680
// > LevelEditorLayer::updateVisibility @ 0x78e6f8
// > ??> @ 0x73df8
//
// 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
//
GJBaseGameLayer *__fastcall GJBaseGameLayer::updateEnterEffects(GJBaseGameLayer *this, float a2)
{
GJBaseGameLayer *v2; // x20
_QWORD *i; // x22
EnterEffectInstance *v5; // x21
EnterEffectInstance *j; // x19
EnterEffectInstance *v7; // x0
_QWORD *k; // x22
EnterEffectInstance *v9; // x21
EnterEffectInstance *m; // x19
EnterEffectInstance *v11; // x0
v2 = this;
for ( i = *((_QWORD **)this + 171); i; i = (_QWORD *)*i )
{
v5 = (EnterEffectInstance *)i[4];
for ( j = (EnterEffectInstance *)i[3];
v5 != j;
this = (GJBaseGameLayer *)EnterEffectInstance::updateTransitions(v7, a2, v2) )
{
v7 = j;
j = (EnterEffectInstance *)((char *)j + 240);
}
}
for ( k = *((_QWORD **)v2 + 176); k; k = (_QWORD *)*k )
{
v9 = (EnterEffectInstance *)k[4];
for ( m = (EnterEffectInstance *)k[3];
v9 != m;
this = (GJBaseGameLayer *)EnterEffectInstance::updateTransitions(v11, a2, v2) )
{
v11 = m;
m = (EnterEffectInstance *)((char *)m + 240);
}
}
return this;
}