//
// GravityEffectSprite::updateSpritesColor from 0x10011e294 to 0x10011e320 (140 bytes)
//
// 1 xrefs:
// > PlayLayer::playGravityEffect @ 0x10011e200
//
// 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 __fastcall GravityEffectSprite::updateSpritesColor(GravityEffectSprite *a1, cocos2d::ccColor3B a2)
{
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x20
__int64 v5; // x0
cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF
v6 = a2;
v2 = ((__int64 (__fastcall *)(GravityEffectSprite *, __int64))a1->getChildByTag)(a1, 1);
if ( v2 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 472LL))(v2);
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) );
}
}
}