//
// SetGroupIDLayer::updateZLayerButtons from 0x10003de50 to 0x10003dee0 (144 bytes)
//
// 3 xrefs:
// > SetGroupIDLayer::init @ 0x10003c2e4
// > SetGroupIDLayer::onZLayer @ 0x10003d604
// > SetGroupIDLayer::onPaste @ 0x10003e3dc
//
// 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 SetGroupIDLayer::updateZLayerButtons(SetGroupIDLayer *a1)
{
__int64 v2; // x20
ButtonSprite *v3; // x21
ZLayer m_zLayerValue; // w24
const char *v5; // x1
if ( (unsigned int)sub_10024A36C(a1->m_zLayerButtons) )
{
v2 = 0;
do
{
v3 = (ButtonSprite *)sub_10024A388(a1->m_zLayerButtons, v2);
m_zLayerValue = a1->m_zLayerValue;
if ( m_zLayerValue == ((unsigned int (__fastcall *)(ButtonSprite *))v3->getTag)(v3) )
v5 = "GJ_button_02.png";
else
v5 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v3, v5);
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_zLayerButtons) );
}
}