//
// compKeyToString from 0x6b3358 to 0x6b33ca (114 bytes)
//
// 2 xrefs:
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x6b8b10
// > SetupItemCompareTriggerPopup::updateOpButton @ 0x6b9ca2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:41 +0000
//
int *__fastcall compKeyToString(int *a1, int a2)
{
const char *v3; // r1
size_t v4; // r2
switch ( a2 )
{
case 0:
*a1 = 0;
a1[1] = 0;
v3 = "==";
a1[2] = 0;
goto LABEL_8;
case 1:
*a1 = 0;
a1[1] = 0;
v3 = ">";
a1[2] = 0;
goto LABEL_10;
case 2:
*a1 = 0;
a1[1] = 0;
v3 = ">=";
a1[2] = 0;
goto LABEL_8;
case 3:
*a1 = 0;
a1[1] = 0;
v3 = "<";
a1[2] = 0;
goto LABEL_10;
case 4:
*a1 = 0;
a1[1] = 0;
v3 = "<=";
a1[2] = 0;
goto LABEL_8;
case 5:
*a1 = 0;
v3 = "!=";
a1[1] = 0;
a1[2] = 0;
LABEL_8:
v4 = 2;
break;
default:
*a1 = 0;
v3 = "?";
a1[1] = 0;
a1[2] = 0;
LABEL_10:
v4 = 1;
break;
}
std::string::__init(a1, v3, v4);
return a1;
}