//
// GJEffectManager::processColors from 0x14025b340 to 0x14025b452 (274 bytes)
//
// 9 xrefs:
// > GJBaseGameLayer::loadUpToPosition @ 0x140235c20
// > LevelEditorLayer::updateGameObjects @ 0x1402dc871
// > LevelEditorLayer::updateGameObjects @ 0x1402dcd0e
// > LevelEditorLayer::onPlaytest @ 0x1402dfe94
// > LevelEditorLayer::postUpdate @ 0x1402e0f69
// > PlayLayer::updateVisibility @ 0x1403af42b
// > ??> @ 0x14068494c
// > ??> @ 0x14068495c
// > ??> @ 0x1406cfc90
//
// 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::processColors(GJEffectManager *a1)
{
std::_Vector_val>::pointer Myfirst; // r8
int v3; // ebp
__int64 v4; // r14
PulseEffectAction *v5; // rsi
ColorAction *ColorAction; // rax
const cocos2d::ccColor3B *m_colorSprite; // rbx
char v8; // [rsp+40h] [rbp+8h] BYREF
GJEffectManager::calculateBaseActiveColors(a1);
Myfirst = a1->m_pulseEffectVector._Mypair._Myval2._Myfirst;
v3 = 0;
if ( a1->m_pulseEffectVector._Mypair._Myval2._Mylast - Myfirst )
{
v4 = 0;
do
{
v5 = &Myfirst[v4];
ColorAction = GJEffectManager::getColorAction(a1, Myfirst[v4].m_targetGroupID);
if ( !v5->m_colorIndex && (!ColorAction || !ColorAction->m_copyID) )
{
m_colorSprite = (const cocos2d::ccColor3B *)ColorAction->m_colorSprite;
m_colorSprite[109] = *GJEffectManager::colorForPulseEffect(
(cocos2d::ccColor3B *)a1,
(GJEffectManager *)&v8,
m_colorSprite + 109,
v5);
}
Myfirst = a1->m_pulseEffectVector._Mypair._Myval2._Myfirst;
++v3;
++v4;
}
while ( v3 < (unsigned __int64)(a1->m_pulseEffectVector._Mypair._Myval2._Mylast - Myfirst) );
}
GJEffectManager::processInheritedColors(a1);
GJEffectManager::processCopyColorPulseActions(a1);
}