# HG changeset patch # User Mychaela Falconia # Date 1583480529 0 # Node ID 63d3afd14523b5156a3025c0d6c4a4c80ecae642 # Parent 0029db63254773af28dd43f14daaf4ad1032ffd7 frbl/reconst/serial.c: 0x7a static function reconstructed diff -r 0029db632547 -r 63d3afd14523 frbl/reconst/serial.c --- a/frbl/reconst/serial.c Fri Mar 06 07:08:58 2020 +0000 +++ b/frbl/reconst/serial.c Fri Mar 06 07:42:09 2020 +0000 @@ -40,3 +40,51 @@ bss_0xc = 6; return retval; } + +static SYS_UWORD32 +static_func_0x7a(SYS_UWORD8 arg1, SYS_UWORD32 *arg2) +{ + SYS_UWORD32 retval = 1; + + if (!bss_7) { + if (arg1 == 'S') { + bss_7 = 1; + } else { + *arg2 = 1; + retval = 0; + } + } else { + bss_7 = 0; + if (arg1 == '0') { + if (bss_4) { + *arg2 = 1; + bss_4 = 0; + retval = 0; + } else { + bss_0xc = 2; + bss_8 = 0; + } + } else if (arg1 == '3') { + if (!bss_4) { + *arg2 = 1; + retval = 0; + } else { + bss_0xc = 4; + bss_8 = 0; + } + } else if (arg1 == '7') { + if (!bss_4) { + *arg2 = 1; + retval = 0; + } else { + bss_0xc = 3; + bss_8 = 0; + } + } else { + *arg2 = 1; + bss_4 = 0; + retval = 0; + } + } + return retval; +}