//
// GJRobotSprite::updateGlowColor from 0x1005dcf90 to 0x1005dd005 (117 bytes)
//
// 6 xrefs:
// > SimplePlayer::updateColors @ 0x10036ea07
// > SimplePlayer::updateColors @ 0x10036ea69
// > PlayerObject::createRobot @ 0x1003fc1b1
// > PlayerObject::createSpider @ 0x1003fc54c
// > PlayerObject::updateGlowColor @ 0x10041a398
// > PlayerObject::updateGlowColor @ 0x10041a3b3
//
// 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; // rax
__int64 v4; // rsi
__int64 v5; // rbx
unsigned int v6; // r14d
__int64 v7; // rax
__int16 v8; // [rsp+0h] [rbp-1Ch] BYREF
char v9; // [rsp+2h] [rbp-1Ah]
char v10; // [rsp+3h] [rbp-19h]
v10 = HIBYTE(v3);
v8 = *(_WORD *)&a2.r;
v4 = *(unsigned __int16 *)&a2.b;
v9 = v4;
v5 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, __int64, bool))a1->m_glowSprite->getChildren)(
a1->m_glowSprite,
v4,
a3);
if ( (unsigned int)sub_100720070(v5) )
{
v6 = 0;
do
{
v7 = sub_1007200C0(v5, v6);
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 944LL))(v7, &v8);
++v6;
}
while ( v6 < (unsigned int)sub_100720070(v5) );
}
}