//
// AnimatedGameObject::updateChildSpriteColor from 0x8727b4 to 0x87282c (120 bytes)
//
// 5 xrefs:
// > PlayLayer::updateVisibility @ 0x701288
// > LevelEditorLayer::updateObjectColors @ 0x78c030
// > LevelEditorLayer::updateVisibility @ 0x78e9ec
// > LevelEditorLayer::updateVisibility @ 0x78ea00
// > ??> @ 0xe7400
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:55:46 +0000
//
cocos2d::CCArray *__fastcall AnimatedGameObject::updateChildSpriteColor(__int64 a1, __int64 a2)
{
cocos2d::CCArray *result; // x0
unsigned int v3; // w19
cocos2d::CCArray *v4; // x20
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
__int64 v8; // [xsp+38h] [xbp+38h] BYREF
v8 = a2;
result = *(cocos2d::CCArray **)(a1 + 1472);
if ( result )
{
v3 = 0;
v4 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCArray *))(*(_QWORD *)result + 488LL))(result);
while ( 1 )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);
v7 = v3;
result = v4;
++v3;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(v4, v7);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 960LL))(v5, &v8);
}
}
return result;
}