//
// GJEffectManager::processPulseActions from 0x8bfcfc to 0x8bfde0 (228 bytes)
//
// 2 xrefs:
// > GJEffectManager::processColors @ 0x8c166c
// > ??> @ 0xae4b0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJEffectManager::processPulseActions(GJEffectManager *a1)
{
PulseEffectAction *m_start; // x19
__int64 v3; // x22
unsigned __int64 v4; // x21
PulseEffectAction *v5; // x19
ColorAction *ColorAction; // x0
ColorActionSprite *m_colorSprite; // x23
m_start = a1->m_pulseEffectVector.m_start;
v3 = 0;
v4 = 1;
if ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.m_finish - (char *)m_start) >> 3) )
{
do
{
v5 = &m_start[v3];
ColorAction = GJEffectManager::getColorAction(a1, v5->m_targetGroupID);
if ( !v5->m_colorIndex && !ColorAction->m_copyID )
{
m_colorSprite = ColorAction->m_colorSprite;
m_colorSprite->m_copyColor = GJEffectManager::colorForPulseEffect(a1, &m_colorSprite->m_copyColor, v5);
}
m_start = a1->m_pulseEffectVector.m_start;
++v3;
}
while ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.m_finish - (char *)m_start) >> 3) > v4++ );
}
}