//
// GJRobotSprite::updateGlowColor from 0x10024000c to 0x100240088 (124 bytes)
//
// 6 xrefs:
// > PlayerObject::createRobot @ 0x100218b8c
// > PlayerObject::createSpider @ 0x100218e74
// > PlayerObject::updateGlowColor @ 0x10022c654
// > PlayerObject::updateGlowColor @ 0x10022c66c
// > SimplePlayer::updateColors @ 0x1003061c8
// > SimplePlayer::updateColors @ 0x100306204
//
// 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 __fastcall GJRobotSprite::updateGlowColor(GJRobotSprite *a1, cocos2d::ccColor3B a2, bool a3)
{
__int64 v3; // x19
__int64 v4; // x20
__int64 v5; // x0
cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF
v6 = a2;
v3 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, _QWORD, bool))a1->m_glowSprite->getChildren)(
a1->m_glowSprite,
*(_QWORD *)&a2.r,
a3);
if ( (unsigned int)sub_10024A36C(v3) )
{
v4 = 0;
do
{
v5 = sub_10024A388(v3, v4);
(*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v5 + 944LL))(v5, &v6);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(v3) );
}
}