// // roundKeyToString from 0x57a0c0 to 0x57a140 (128 bytes) // // 6 xrefs: // > SetupItemEditTriggerPopup::updateOpButton @ 0x57a33a // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a796 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a828 // > SetupItemCompareTriggerPopup::updateOpButton @ 0x57b772 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57b9e2 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57bafc // // 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 // int __fastcall roundKeyToString(int a1, int a2, int a3) { char *v4; // r1 if ( a3 ) { switch ( a2 ) { case 0: v4 = "na"; break; case 1: v4 = "rn"; break; case 2: v4 = "fl"; break; case 3: v4 = "ce"; break; default: v4 = "?"; break; } } else { switch ( a2 ) { case 0: v4 = "na"; break; case 1: v4 = "rnd"; break; case 2: v4 = "flr"; break; case 3: v4 = "cei"; break; default: v4 = "?"; break; } } sub_776584(a1, v4); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source