//
// SetupShaderEffectPopup::zLayerToString from 0x551d10 to 0x551db0 (160 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::init @ 0x55154a
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x55205c
//
// 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
//
SetupShaderEffectPopup *__fastcall SetupShaderEffectPopup::zLayerToString(SetupShaderEffectPopup *this, int a2)
{
char *v3; // r1
switch ( a2 )
{
case 1:
v3 = "BG";
break;
case 2:
v3 = "MG";
break;
case 3:
v3 = "B5";
break;
case 4:
v3 = "B4";
break;
case 5:
v3 = "B3";
break;
case 6:
v3 = "B2";
break;
case 7:
v3 = "B1";
break;
case 8:
v3 = "P";
break;
case 9:
v3 = "T1";
break;
case 10:
v3 = "T2";
break;
case 11:
v3 = "T3";
break;
case 12:
v3 = "T4";
break;
case 13:
v3 = "G";
break;
case 14:
v3 = "UI";
break;
case 15:
v3 = "Max";
break;
default:
v3 = (char *)&unk_939830;
break;
}
sub_776584((int)this, v3);
return this;
}