diff frbl/reconst/serial.c @ 331:8fb86f7b4395

frbl/reconst/serial.c: 0x176 static function reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 01:08:24 +0000
parents 30cbf540e045
children e5db9a45e596
line wrap: on
line diff
--- a/frbl/reconst/serial.c	Sat Mar 07 00:54:28 2020 +0000
+++ b/frbl/reconst/serial.c	Sat Mar 07 01:08:24 2020 +0000
@@ -107,3 +107,25 @@
 	}
 	return retval;
 }
+
+static SYS_UWORD32
+static_func_0x176(SYS_UWORD8 arg1, SYS_UWORD32 *arg2)
+{
+	SYS_UWORD32 retval = 1;
+
+	if (arg1 == S7_expect[bss_8]) {
+		bss_8++;
+		if (bss_8 == 6) {
+			*arg2 = 2;
+			bss_0xc = 1;
+			bss_4 = 0;
+			retval = 0;
+		}
+	} else {
+		*arg2 = 1;
+		bss_0xc = 1;
+		bss_4 = 0;
+		retval = 0;
+	}
+	return retval;
+}