//
// SetupGradientPopup::updateZLayerButtons from 0x1005f3000 to 0x1005f3096 (150 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 SetupGradientPopup::updateZLayerButtons(SetupGradientPopup *a1)
{
unsigned int v1; // r14d
ButtonSprite *v2; // r15
const char *v3; // rsi
if ( (unsigned int)sub_100720070(a1->m_layerButtons) )
{
v1 = 0;
do
{
v2 = (ButtonSprite *)sub_1007200C0(a1->m_layerButtons, v1);
v3 = "GJ_button_02.png";
if ( ((unsigned int (__fastcall *)(ButtonSprite *))v2->getTag)(v2) != a1->m_blendingLayer )
v3 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v2, v3);
++v1;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_layerButtons) );
}
}