//
// AnimatedGameObject::updateChildSpriteColor from 0x100383c3c to 0x100383cbc (128 bytes)
//
// 4 xrefs:
// > PlayLayer::updateVisibility @ 0x10011ca10
// > LevelEditorLayer::updateVisibility @ 0x10035ebb4
// > LevelEditorLayer::updateVisibility @ 0x10035f114
// > LevelEditorLayer::updateObjectColors @ 0x10035f6b8
//
// 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 AnimatedGameObject::updateChildSpriteColor(AnimatedGameObject *a1, cocos2d::ccColor3B a2)
{
cocos2d::CCSprite *m_childSprite; // x0
__int64 v3; // x19
unsigned int v4; // w20
__int64 v5; // x0
cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF
v6 = a2;
m_childSprite = a1->m_childSprite;
if ( m_childSprite )
{
v3 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))m_childSprite->getChildren)(m_childSprite);
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;
}
while ( v4 < (unsigned int)sub_10024A36C(v3) );
}
}
}