//
// SetupGradientPopup::updateZLayerButtons from 0x550b64 to 0x550bae (74 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::onZLayer @ 0x550bfc
// > SetupGradientPopup::init @ 0x5515ce
//
// 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 v2; // r4
ButtonSprite *v3; // r0
ButtonSprite *v4; // r6
const char *v5; // r1
v2 = 0;
while ( v2 < cocos2d::CCArray::count(a1->m_layerButtons) )
{
v3 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_layerButtons, v2++);
v4 = v3;
if ( v3->getTag(v3) == a1->m_blendingLayer )
v5 = "GJ_button_02.png";
else
v5 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v4, v5);
}
}