//
// GravityEffectSprite::updateSpritesColor from 0x1000b9690 to 0x1000b9715 (133 bytes)
//
// 0 xrefs:
//
// 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; // rax
__int64 v3; // rax
__int64 v4; // rbx
unsigned int v5; // r14d
__int64 v6; // rax
cocos2d::ccColor3B v7; // [rsp+0h] [rbp-1Ch] BYREF
char v8; // [rsp+3h] [rbp-19h]
v8 = HIBYTE(v2);
v7 = a2;
v3 = ((__int64 (__fastcall *)(GravityEffectSprite *, __int64))a1->getChildByTag)(a1, 1);
if ( v3 )
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 472LL))(v3);
if ( (unsigned int)sub_100720070(v4) )
{
v5 = 0;
do
{
v6 = sub_1007200C0(v4, v5);
(*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v6 + 944LL))(v6, &v7);
++v5;
}
while ( v5 < (unsigned int)sub_100720070(v4) );
}
}
}