//
// AnimatedGameObject::updateChildSpriteColor from 0x1001b7050 to 0x1001b70c5 (117 bytes)
//
// 4 xrefs:
// > PlayLayer::updateVisibility @ 0x1000b79e0
// > LevelEditorLayer::updateVisibility @ 0x1000eb0e6
// > LevelEditorLayer::updateVisibility @ 0x1000eb66c
// > LevelEditorLayer::updateObjectColors @ 0x1000ebcd2
//
// 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)
{
__int64 v2; // rax
cocos2d::CCSprite *m_childSprite; // rdi
__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;
m_childSprite = a1->m_childSprite;
if ( m_childSprite )
{
v4 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))m_childSprite->getChildren)(m_childSprite);
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) );
}
}
}