//
// GJEffectManager::updateColors from 0x5c2f54 to 0x5c2f92 (62 bytes)
//
// 1 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x406a32
//
// 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:53:51 +0000
//
int __fastcall GJEffectManager::updateColors(int result, int a2, int a3)
{
int v3; // r3
int v4; // r3
int v5; // r4
int v6; // r2
v3 = *(_DWORD *)(result + 268);
if ( v3 )
{
v4 = *(_DWORD *)(v3 + 52);
if ( v4 )
v5 = *(_DWORD *)(v4 + 272);
else
v5 = 0;
while ( v4 )
{
result = ColorAction::updateCustomColor(*(_DWORD *)(v4 + 260), a2, a3);
if ( v5 )
v6 = *(_DWORD *)(v5 + 272);
else
v6 = 0;
v4 = v5;
v5 = v6;
}
}
return result;
}