//
// GJEffectManager::processPulseActions from 0x5c3a30 to 0x5c3a94 (100 bytes)
//
// 1 xrefs:
// > GJEffectManager::processColors @ 0x5c667e
//
// 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
//
ColorAction *__fastcall GJEffectManager::processPulseActions(ColorAction *this)
{
GJEffectManager *v1; // r7
unsigned int i; // r8
int v3; // r4
int v4; // r4
int v5; // r9
int v6; // r0
v1 = this;
for ( i = 0; ; ++i )
{
v3 = *((_DWORD *)v1 + 69);
if ( i >= 954437177 * ((*((_DWORD *)v1 + 70) - v3) >> 3) )
break;
v4 = v3 + 72 * i;
this = GJEffectManager::getColorAction(v1, *(_DWORD *)(v4 + 20));
v5 = *((_DWORD *)this + 34);
if ( !*(_DWORD *)(v4 + 52) && !*((_DWORD *)this + 29) )
{
v6 = GJEffectManager::colorForPulseEffect(v1, (unsigned __int8 *)(v5 + 271), v4);
*(_WORD *)(v5 + 271) = v6;
this = (ColorAction *)BYTE2(v6);
*(_BYTE *)(v5 + 273) = (_BYTE)this;
}
}
return this;
}