//
// GJRobotSprite::updateGlowColor from 0x8e2bf4 to 0x8e2c6c (120 bytes)
//
// 7 xrefs:
// > PlayerObject::createRobot @ 0x6222bc
// > PlayerObject::createSpider @ 0x622654
// > PlayerObject::updateGlowColor @ 0x62773c
// > PlayerObject::updateGlowColor @ 0x62774c
// > SimplePlayer::updateColors @ 0x791da8
// > SimplePlayer::updateColors @ 0x791dec
// > ??> @ 0xc6420
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void GJRobotSprite::updateGlowColor(GJRobotSprite *a1, cocos2d::ccColor3B a2, bool a3)
{
unsigned int v3; // w19
cocos2d::CCArray *v4; // x20
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
__int64 v8; // [xsp+38h] [xbp+38h] BYREF
v3 = 0;
v8 = *(_QWORD *)&a2.r;
v4 = a1->m_glowSprite->getChildren(a1->m_glowSprite);
while ( 1 )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);
v7 = v3++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(v4, v7);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 944LL))(v5, &v8);
}
}