# HG changeset patch # User Mychaela Falconia # Date 1583547027 0 # Node ID f8a4a330d0e61b2ad95ae81c3047c000661cfb96 # Parent e5db9a45e596111a28d45f0b4c63e5c7381023e3 frbl/reconst/serial.c: 0x200 static function reconstructed diff -r e5db9a45e596 -r f8a4a330d0e6 frbl/reconst/serial.c --- a/frbl/reconst/serial.c Sat Mar 07 01:32:59 2020 +0000 +++ b/frbl/reconst/serial.c Sat Mar 07 02:10:27 2020 +0000 @@ -139,3 +139,28 @@ bss_0 = 0; bss_0xc = 5; } + +static SYS_UWORD32 +static_func_0x200(SYS_UWORD8 arg1, SYS_UWORD32 *arg2, SYS_UWORD32 *arg3) +{ + SYS_UWORD32 retval = 1; + + bss_0x10--; + if (bss_0x10) { + bss_5 += arg1; + bss_8++; + bss_0 += arg1 << ((4 - bss_8) * 8); + if (bss_8 == 4) { + *arg3 = bss_0 - 2; + bss_0xc = 0; + bss_6 = 0; + bss_8 = 0; + } + } else { + *arg2 = 1; + bss_0xc = 1; + bss_4 = 0; + retval = 0; + } + return retval; +}