// // SetupGradientPopup::updateGradientLabels from 0x100343310 to 0x100343408 (248 bytes) // // 2 xrefs: // > SetupGradientPopup::init @ 0x1003429f4 // > SetupGradientPopup::updateToggleItem @ 0x1003437f8 // // 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::updateGradientLabels(SetupGradientPopup *a1, bool a2) { _BOOL4 v2; // w21 signed int v4; // w20 bool v5; // zf const char *v6; // x21 const char *v7; // x22 const char *v8; // x23 const char *v9; // x24 __int64 v10; // x0 const char *v11; // x1 v2 = a2; if ( (unsigned int)sub_10024A36C((__int64)a1->m_gradientLabels) ) { v4 = 0; v5 = !v2; if ( v2 ) v6 = "TR:"; else v6 = "R:"; if ( v5 ) v7 = "L:"; else v7 = "TL:"; if ( v5 ) v8 = "D:"; else v8 = "BR:"; if ( v5 ) v9 = "U:"; else v9 = "BL:"; while ( 1 ) { v10 = sub_10024A388((__int64)a1->m_gradientLabels, v4); if ( v4 <= 1 ) break; v11 = v7; if ( v4 == 2 ) goto LABEL_21; if ( v4 == 3 ) { v11 = v6; LABEL_21: (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 912LL))(v10, v11); } LABEL_22: if ( ++v4 >= (unsigned int)sub_10024A36C((__int64)a1->m_gradientLabels) ) return; } v11 = v9; if ( v4 ) { v11 = v8; if ( v4 != 1 ) goto LABEL_22; } goto LABEL_21; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source