//
// AnimatedGameObject::updateChildSpriteColor from 0x3e7edc to 0x3e7f18 (60 bytes)
//
// 4 xrefs:
// > PlayLayer::updateVisibility @ 0x315bf0
// > LevelEditorLayer::updateObjectColors @ 0x367aa6
// > LevelEditorLayer::updateVisibility @ 0x36978c
// > LevelEditorLayer::updateVisibility @ 0x369b4a
//
// 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 AnimatedGameObject::updateChildSpriteColor(AnimatedGameObject *a1, cocos2d::ccColor3B a2)
{
cocos2d::CCSprite *m_childSprite; // r0
unsigned int v3; // r4
cocos2d::CCArray *v4; // r5
int v5; // r0
int v6; // [sp+4h] [bp-4h] BYREF
v6 = *(_DWORD *)&a2.r;
m_childSprite = a1->m_childSprite;
if ( m_childSprite )
{
v3 = 0;
v4 = m_childSprite->getChildren(m_childSprite);
while ( v3 < cocos2d::CCArray::count(v4) )
{
v5 = cocos2d::CCArray::objectAtIndex(v4, v3++);
(*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 472))(v5, &v6);
}
}
}