changeset 333:f8a4a330d0e6

frbl/reconst/serial.c: 0x200 static function reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 02:10:27 +0000
parents e5db9a45e596
children ea1e950c849f
files frbl/reconst/serial.c
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
+}