phase12: match func_80086DBC (704 bodies / 713 regions)
This commit is contained in:
+840
-841
File diff suppressed because it is too large
Load Diff
@@ -401,6 +401,7 @@
|
||||
0x8008352C 0x8008355C src/func_8008352C.c
|
||||
0x80085B44 0x80085B80 src/func_80085B44.c
|
||||
0x80085B80 0x80085B90 src/func_80085B80.c
|
||||
0x80086DBC 0x80086DFC src/func_80086DBC.c
|
||||
0x80089314 0x80089338 src/func_80089314.c
|
||||
0x800893E8 0x80089434 src/func_800893E8.c
|
||||
0x80089B30 0x80089B88 src/func_80089B30.c
|
||||
|
||||
|
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* func_80086DBC — 64 bytes at 0x80086DBC..0x80086DFC
|
||||
*
|
||||
* Reads the unsigned global g_80122354. Values below 5 return zero; otherwise the
|
||||
* helper func_8009AE2C is called and its signed 16-bit result is returned.
|
||||
*
|
||||
* The global's unsigned type is byte-required: it produces the target's `sltiu`
|
||||
* rather than a signed comparison. The short return type is also required because
|
||||
* the target sign-extends the helper result after the call.
|
||||
*
|
||||
* LIMITS: the global's meaning and helper behavior are not inferred. Its address,
|
||||
* unsigned threshold 5, call target, return widths, branch, frame, and sign-extension
|
||||
* are byte evidence.
|
||||
*/
|
||||
|
||||
extern unsigned int g_80122354;
|
||||
extern short func_8009AE2C(void);
|
||||
|
||||
short func_80086DBC(void)
|
||||
{
|
||||
if (g_80122354 < 5)
|
||||
return 0;
|
||||
return func_8009AE2C();
|
||||
}
|
||||
Reference in New Issue
Block a user