//
// MenuGameLayer::updateColors from 0x1004fab60 to 0x1004fabce (110 bytes)
//
// 0 xrefs:
//
// 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; // r14
unsigned __int16 *v2; // rax
GJGroundLayer *v3; // rbx
cocos2d::CCSprite *m_ground2Sprite; // rdi
unsigned __int16 *v5; // rax
m_groundLayer = a1->m_groundLayer;
v2 = (unsigned __int16 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))m_groundLayer->m_ground1Sprite->getColor)(m_groundLayer->m_ground1Sprite);
GJGroundLayer::updateGround01Color(m_groundLayer, (cocos2d::ccColor3B)(*v2 | (*((unsigned __int8 *)v2 + 2) << 16)));
v3 = a1->m_groundLayer;
m_ground2Sprite = v3->m_ground2Sprite;
if ( m_ground2Sprite )
{
v5 = (unsigned __int16 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))m_ground2Sprite->getColor)(m_ground2Sprite);
GJGroundLayer::updateGround02Color(v3, (cocos2d::ccColor3B)(*v5 | (*((unsigned __int8 *)v5 + 2) << 16)));
}
}