// // SetupShaderEffectPopup::updateZLayerButtons from 0x1002d0510 to 0x1002d05c3 (179 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 SetupShaderEffectPopup::updateZLayerButtons(SetupShaderEffectPopup *a1) { unsigned int v1; // r14d ButtonSprite *v2; // r15 int v3; // eax int m_zLayerMin; // ecx const char *v5; // rsi if ( (unsigned int)sub_100720070(a1->m_zLayerSprites) ) { v1 = 0; do { v2 = (ButtonSprite *)sub_1007200C0(a1->m_zLayerSprites, v1); v3 = ((__int64 (__fastcall *)(ButtonSprite *))v2->getTag)(v2); m_zLayerMin = a1->m_zLayerMin; v5 = "GJ_button_02.png"; if ( v3 != m_zLayerMin ) { v5 = "GJ_button_02.png"; if ( v3 != a1->m_zLayerMax ) { v5 = "GJ_button_01.png"; if ( v3 >= a1->m_zLayerMax ) v5 = "GJ_button_04.png"; if ( v3 <= m_zLayerMin ) v5 = "GJ_button_04.png"; } } ButtonSprite::updateBGImage(v2, v5); ++v1; } while ( v1 < (unsigned int)sub_100720070(a1->m_zLayerSprites) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source