//
// GravityEffectSprite::updateSpritesColor from 0x314aa8 to 0x314aea (66 bytes)
//
// 1 xrefs:
// > PlayLayer::playGravityEffect @ 0x314c96
//
// 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 GravityEffectSprite::updateSpritesColor(GravityEffectSprite *a1, cocos2d::ccColor3B a2)
{
cocos2d::CCNode *v2; // r0
unsigned int v3; // r4
cocos2d::CCArray *v4; // r5
int v5; // r0
int v6; // [sp+4h] [bp-4h] BYREF
v6 = *(_DWORD *)&a2.r;
v2 = a1->getChildByTag(a1, 1);
if ( v2 )
{
v3 = 0;
v4 = v2->getChildren(v2);
while ( v3 < cocos2d::CCArray::count(v4) )
{
v5 = cocos2d::CCArray::objectAtIndex(v4, v3++);
(*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 472))(v5, &v6);
}
}
}