//
// GJGroundLayer::updateGround01Color from 0x434414 to 0x434450 (60 bytes)
//
// 11 xrefs:
// > LevelEditorLayer::updateEditorMode @ 0x3690a0
// > MenuGameLayer::updateColors @ 0x3a944c
// > LevelSelectLayer::scrollLayerMoved @ 0x40947a
// > GJGroundLayer::init @ 0x434888
// > GJGroundLayer::init @ 0x434914
// > GJBaseGameLayer::updateLevelColors @ 0x46d9d8
// > GJBaseGameLayer::updateLevelColors @ 0x46d9e2
// > GJBaseGameLayer::visitWithColorFlash @ 0x479a56
// > GJBaseGameLayer::visitWithColorFlash @ 0x479a60
// > GJBaseGameLayer::visitWithColorFlash @ 0x479a92
// > GJBaseGameLayer::visitWithColorFlash @ 0x479a9c
//
// 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 GJGroundLayer::updateGround01Color(GJGroundLayer *a1, cocos2d::ccColor3B a2)
{
cocos2d::CCArray *v2; // r5
unsigned int i; // r4
int v4; // r0
int v5; // [sp+4h] [bp-4h] BYREF
v5 = *(_DWORD *)&a2.r;
v2 = a1->m_ground1Sprite->getChildren(a1->m_ground1Sprite);
if ( v2 )
{
for ( i = 0; i < cocos2d::CCArray::count(v2); ++i )
{
v4 = cocos2d::CCArray::objectAtIndex(v2, i);
(*(void (__fastcall **)(int, int *))(*(_DWORD *)v4 + 472))(v4, &v5);
}
}
}