mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Attempt to decompile rmonIsDouble
This commit is contained in:
1 parent
4422f463b1
commit
e26c4ceb97
1 file changed
+9
@@ -597,6 +597,15 @@ glabel rmonIsDouble
|
||||
/* c3d8: 00000000 */ nop
|
||||
);
|
||||
|
||||
//bool rmonIsDouble(f32 value)
|
||||
//{
|
||||
// u32 bits = *(u32 *)&value;
|
||||
//
|
||||
// return (bits & 0x7fffff) != 0
|
||||
// && ((bits >> 23) & 0xff) != 0
|
||||
// && ((bits >> 23) & 0xff) != 0xff;
|
||||
//}
|
||||
|
||||
void rmonPrintFloatOrDouble(u32 arg0, f32 value)
|
||||
{
|
||||
if (rmonIsDouble(value)) {
|
||||
|
||||
Reference in new issue
Block a user