//
// SetupGradientPopup::updateGradientLabels from 0x1005f2c30 to 0x1005f2d25 (245 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::updateGradientLabels(SetupGradientPopup *a1, bool a2)
{
const char *v2; // rcx
const char *v3; // rcx
const char *v4; // r13
const char *v5; // r15
unsigned int v6; // r14d
const char *v7; // rsi
__int64 v8; // rax
const char *v9; // [rsp+8h] [rbp-38h]
const char *v10; // [rsp+10h] [rbp-30h]
if ( (unsigned int)sub_100720070(a1->m_gradientLabels) )
{
v2 = "R:";
if ( a2 )
v2 = "TR:";
v9 = v2;
v3 = "L:";
if ( a2 )
v3 = "TL:";
v10 = v3;
v4 = "D:";
if ( a2 )
v4 = "BR:";
v5 = "U:";
if ( a2 )
v5 = "BL:";
v6 = 0;
do
{
v8 = sub_1007200C0(a1->m_gradientLabels, v6);
v7 = v5;
switch ( v6 )
{
case 0u:
goto LABEL_12;
case 1u:
v7 = v4;
goto LABEL_12;
case 2u:
v7 = v10;
goto LABEL_12;
case 3u:
v7 = v9;
LABEL_12:
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v8 + 912LL))(v8, v7);
break;
default:
break;
}
++v6;
}
while ( v6 < (unsigned int)sub_100720070(a1->m_gradientLabels) );
}
}