//
// MenuGameLayer::updateColors from 0x10039b32c to 0x10039b3a4 (120 bytes)
//
// 1 xrefs:
// > MenuGameLayer::update @ 0x10039b3f0
//
// 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 MenuGameLayer::updateColors(MenuGameLayer *a1)
{
GJGroundLayer *m_groundLayer; // x20
unsigned __int16 *v3; // x0
GJGroundLayer *v4; // x19
cocos2d::CCSprite *m_ground2Sprite; // x0
unsigned __int16 *v6; // x0
m_groundLayer = a1->m_groundLayer;
v3 = (unsigned __int16 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))m_groundLayer->m_ground1Sprite->getColor)(m_groundLayer->m_ground1Sprite);
GJGroundLayer::updateGround01Color(m_groundLayer, (cocos2d::ccColor3B)(*v3 | (*((unsigned __int8 *)v3 + 2) << 16)));
v4 = a1->m_groundLayer;
m_ground2Sprite = v4->m_ground2Sprite;
if ( m_ground2Sprite )
{
v6 = (unsigned __int16 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))m_ground2Sprite->getColor)(m_ground2Sprite);
GJGroundLayer::updateGround02Color(v4, (cocos2d::ccColor3B)(*v6 | (*((unsigned __int8 *)v6 + 2) << 16)));
}
}