//
// SetupGradientPopup::updateZLayerButtons from 0x100343590 to 0x100343620 (144 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::init @ 0x100343108
// > SetupGradientPopup::onZLayer @ 0x10034358c
//
// 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 SetupGradientPopup::updateZLayerButtons(SetupGradientPopup *a1)
{
unsigned int v2; // w20
ButtonSprite *v3; // x21
const char *v4; // x1
if ( (unsigned int)sub_10024A36C((__int64)a1->m_layerButtons) )
{
v2 = 0;
do
{
v3 = (ButtonSprite *)sub_10024A388((__int64)a1->m_layerButtons, v2);
if ( ((unsigned int (__fastcall *)(ButtonSprite *))v3->getTag)(v3) == a1->m_blendingLayer )
v4 = "GJ_button_02.png";
else
v4 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v3, v4);
++v2;
}
while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_layerButtons) );
}
}