//
// SetupGradientPopup::updateZLayerButtons from 0x140421f80 to 0x14042200d (141 bytes)
//
// 7 xrefs:
// > SetupGradientPopup::init @ 0x140421a63
// > SetupGradientPopup::onZLayer @ 0x140421f22
// > SetupGradientPopup::onZLayer @ 0x140421f7b
// > ??> @ 0x1406a067c
// > ??> @ 0x1406a068c
// > ??> @ 0x1406d95b4
// > ??> @ 0x1406d95c0
//
// 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 SetupGradientPopup::updateZLayerButtons(SetupGradientPopup *a1)
{
unsigned int i; // esi
ButtonSprite *v3; // rbx
int v4; // eax
const char *v5; // rdx
for ( i = 0; i < cocos2d::CCArray::count(a1->m_layerButtons); ++i )
{
v3 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_layerButtons, i);
v4 = v3->getTag(v3);
v5 = "GJ_button_02.png";
if ( v4 != a1->m_blendingLayer )
v5 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v3, v5);
}
}