// // SetupAreaMoveTriggerPopup::getModeValues from 0x68ec4c to 0x68ec9e (82 bytes) // // 2 xrefs: // > SetupAreaMoveTriggerPopup::onMode @ 0x68ecda // > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x68fc16 // // 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:10 +0000 // unsigned int __fastcall SetupAreaMoveTriggerPopup::getModeValues( SetupAreaMoveTriggerPopup *this, int a2, int *a3, bool *a4, bool *a5) { unsigned int result; // r0 int v6; // r4 bool v7; // r2 bool v8; // r1 *a3 = 0; result = a2 - 2; if ( (unsigned int)(a2 - 2) > 3 ) { if ( a2 >= 2 ) v6 = 2; else v6 = 0; *a3 = v6; if ( a2 == 1 ) goto LABEL_7; } else { *a3 = 1; } if ( (a2 & 0xFFFFFFFB) != 3 && a2 != 5 ) { v7 = a2 == 8; goto LABEL_11; } LABEL_7: v7 = 1; LABEL_11: *a4 = v7; v8 = result <= 1 || a2 == 6 || a2 == 7; *a5 = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source