//
// roundKeyToString from 0x6b33e8 to 0x6b348c (164 bytes)
//
// 6 xrefs:
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x6b8384
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x6b8448
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x6b8a24
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x6b8b84
// > SetupItemEditTriggerPopup::updateOpButton @ 0x6b8efe
// > SetupItemCompareTriggerPopup::updateOpButton @ 0x6b9cec
//
// 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 roundKeyToString(int *a1, int a2, int a3)
{
const char *v4; // r1
size_t v5; // r2
if ( a3 )
{
switch ( a2 )
{
case 0:
*a1 = 0;
a1[1] = 0;
v4 = "na";
a1[2] = 0;
goto LABEL_10;
case 1:
*a1 = 0;
a1[1] = 0;
v4 = "rn";
a1[2] = 0;
goto LABEL_10;
case 2:
*a1 = 0;
a1[1] = 0;
v4 = "fl";
a1[2] = 0;
goto LABEL_10;
case 3:
*a1 = 0;
a1[1] = 0;
v4 = "ce";
a1[2] = 0;
goto LABEL_10;
default:
*a1 = 0;
a1[1] = 0;
v4 = "?";
a1[2] = 0;
goto LABEL_16;
}
}
switch ( a2 )
{
case 0:
*a1 = 0;
v4 = "na";
a1[1] = 0;
a1[2] = 0;
LABEL_10:
v5 = 2;
break;
case 1:
*a1 = 0;
a1[1] = 0;
v4 = "rnd";
a1[2] = 0;
goto LABEL_14;
case 2:
*a1 = 0;
v4 = "flr";
a1[1] = 0;
a1[2] = 0;
goto LABEL_14;
case 3:
*a1 = 0;
a1[1] = 0;
v4 = "cei";
a1[2] = 0;
LABEL_14:
v5 = 3;
break;
default:
*a1 = 0;
v4 = "?";
a1[1] = 0;
a1[2] = 0;
LABEL_16:
v5 = 1;
break;
}
std::string::__init(a1, v4, v5);
return a1;
}