//
// GJGroundLayer::updateGround01Color from 0x1005eb390 to 0x1005eb405 (117 bytes)
//
// 11 xrefs:
// > LevelEditorLayer::updateEditorMode @ 0x1000de900
// > LevelEditorLayer::updateEditorMode @ 0x1000de97a
// > GJBaseGameLayer::updateLevelColors @ 0x10011465a
// > GJBaseGameLayer::updateLevelColors @ 0x100114669
// > GJBaseGameLayer::visitWithColorFlash @ 0x10016508a
// > GJBaseGameLayer::visitWithColorFlash @ 0x100165099
// > GJBaseGameLayer::visitWithColorFlash @ 0x1001650ec
// > GJBaseGameLayer::visitWithColorFlash @ 0x100165105
// > LevelSelectLayer::scrollLayerMoved @ 0x100434340
// > MenuGameLayer::updateColors @ 0x1004fab90
// > MenuGameLayer::update @ 0x1004fac46
//
// 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 GJGroundLayer::updateGround01Color(GJGroundLayer *a1, cocos2d::ccColor3B a2)
{
__int64 v2; // rax
__int64 v3; // rax
__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;
v3 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_ground1Sprite->getChildren)(a1->m_ground1Sprite);
if ( v3 )
{
v4 = v3;
if ( (unsigned int)sub_100720070(v3) )
{
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) );
}
}
}