FreeCalypso > hg > freecalypso-reveng
comparison frbl/reconst/serial.c @ 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 |
comparison
equal
deleted
inserted
replaced
332:e5db9a45e596 | 333:f8a4a330d0e6 |
---|---|
137 bss_5 = arg; | 137 bss_5 = arg; |
138 bss_8 = 0; | 138 bss_8 = 0; |
139 bss_0 = 0; | 139 bss_0 = 0; |
140 bss_0xc = 5; | 140 bss_0xc = 5; |
141 } | 141 } |
142 | |
143 static SYS_UWORD32 | |
144 static_func_0x200(SYS_UWORD8 arg1, SYS_UWORD32 *arg2, SYS_UWORD32 *arg3) | |
145 { | |
146 SYS_UWORD32 retval = 1; | |
147 | |
148 bss_0x10--; | |
149 if (bss_0x10) { | |
150 bss_5 += arg1; | |
151 bss_8++; | |
152 bss_0 += arg1 << ((4 - bss_8) * 8); | |
153 if (bss_8 == 4) { | |
154 *arg3 = bss_0 - 2; | |
155 bss_0xc = 0; | |
156 bss_6 = 0; | |
157 bss_8 = 0; | |
158 } | |
159 } else { | |
160 *arg2 = 1; | |
161 bss_0xc = 1; | |
162 bss_4 = 0; | |
163 retval = 0; | |
164 } | |
165 return retval; | |
166 } |