// // SetupAreaMoveTriggerPopup::getModeValues from 0x1004cffe0 to 0x1004d0040 (96 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:31:11 +0000 // bool __fastcall SetupAreaMoveTriggerPopup::getModeValues(__int64 a1, signed int a2, int *a3, bool *a4, bool *a5) { int v5; // eax bool v6; // al int v7; // edi bool result; // al int v9; // 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; if ( (unsigned int)a2 <= 6 && (result = 1, v9 = 76, _bittest(&v9, a2)) ) { *a5 = 1; } else { *a5 = a2 == 7; return a2 == 7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source