//
// signKeyToString from 0x6b34b4 to 0x6b3544 (144 bytes)
//
// 6 xrefs:
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x6b81da
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x6b8412
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x6b89ec
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x6b8b50
// > SetupItemEditTriggerPopup::updateOpButton @ 0x6b8f48
// > SetupItemCompareTriggerPopup::updateOpButton @ 0x6b9d36
//
// 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 signKeyToString(int *a1, size_t a2, int a3)
{
const char *v5; // r1
size_t v6; // r2
if ( a3 )
{
if ( a2 != 1 )
{
if ( a2 == 2 )
{
*a1 = 0;
a1[1] = 0;
v5 = "n";
a1[2] = 0;
}
else
{
*a1 = 0;
a1[1] = 0;
if ( a2 )
{
v5 = "?";
a1[2] = 0;
}
else
{
a1[2] = 0;
v5 = " ";
}
}
goto LABEL_17;
}
*a1 = 0;
a1[1] = 0;
v5 = "a";
a1[2] = 0;
v6 = a2;
goto LABEL_18;
}
if ( a2 == 1 )
{
*a1 = 0;
a1[1] = 0;
v5 = "abs";
a1[2] = 0;
LABEL_15:
v6 = 3;
goto LABEL_18;
}
if ( a2 == 2 )
{
*a1 = 0;
v5 = "neg";
a1[1] = 0;
a1[2] = 0;
goto LABEL_15;
}
if ( a2 )
{
*a1 = 0;
v5 = "?";
a1[1] = 0;
a1[2] = 0;
LABEL_17:
v6 = 1;
goto LABEL_18;
}
*a1 = 0;
v6 = 2;
a1[1] = 0;
a1[2] = 0;
v5 = "na";
LABEL_18:
std::string::__init(a1, v5, v6);
return a1;
}