//
// SetupAreaMoveTriggerPopup::getModeValues from 0x558078 to 0x5580ca (82 bytes)
//
// 2 xrefs:
// > SetupAreaMoveTriggerPopup::onMode @ 0x558106
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x558b36
//
// 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
//
void SetupAreaMoveTriggerPopup::getModeValues(SetupAreaMoveTriggerPopup *a1, int a2, int *a3, bool *a4, bool *a5)
{
int v5; // r4
char v6; // r2
bool v7; // r1
*a3 = 0;
if ( (unsigned int)(a2 - 2) > 3 )
{
if ( a2 >= 2 )
v5 = 2;
else
v5 = 0;
*a3 = v5;
if ( a2 == 1 )
goto LABEL_7;
}
else
{
*a3 = 1;
}
if ( (a2 & 0xFFFFFFFB) != 3 && a2 != 5 )
{
v6 = a2 == 8;
goto LABEL_11;
}
LABEL_7:
v6 = 1;
LABEL_11:
*a4 = v6;
v7 = (unsigned int)(a2 - 2) <= 1 || a2 == 6 || a2 == 7;
*a5 = v7;
}