//
// compKeyToString from 0x57a040 to 0x57a09e (94 bytes)
//
// 2 xrefs:
// > SetupItemCompareTriggerPopup::updateOpButton @ 0x57b752
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57baa0
//
// 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
//
int __fastcall compKeyToString(int a1, int a2)
{
char *v3; // r1
switch ( a2 )
{
case 0:
v3 = "==";
break;
case 1:
v3 = ">";
break;
case 2:
v3 = ">=";
break;
case 3:
v3 = "<";
break;
case 4:
v3 = "<=";
break;
case 5:
v3 = "!=";
break;
default:
v3 = "?";
break;
}
sub_776584(a1, v3);
return a1;
}