//
// SetupAreaMoveTriggerPopup::getModeValues from 0x1004d47e0 to 0x1004d4840 (96 bytes)
//
// 0 xrefs:
//
// 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 __fastcall SetupAreaMoveTriggerPopup::getModeValues(
SetupAreaMoveTriggerPopup *a1,
int a2,
int *a3,
bool *a4,
bool *a5)
{
int v5; // eax
bool v6; // al
int v7; // edi
int v8; // ecx
*a3 = 0;
v5 = 1;
if ( (unsigned int)(a2 - 2) < 4 || (v5 = 2, a2 >= 2) )
*a3 = v5;
if ( (unsigned int)(a2 - 1) >= 7 || (v6 = 1, v7 = 85, !_bittest(&v7, a2 - 1)) )
v6 = a2 == 8;
*a4 = v6;
*a5 = (unsigned int)a2 <= 6 && (v8 = 76, _bittest(&v8, a2)) || a2 == 7;
}