mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-23 05:29:50 +00:00
match the hardest JSys function in random.o
This commit is contained in:
parent
c755dcb26f
commit
62e7b22719
3
.gitignore
vendored
3
.gitignore
vendored
@ -34,4 +34,5 @@ Compilers.zip
|
||||
Compilers/*
|
||||
*.ninja
|
||||
*.ninja_log
|
||||
doxygen/*
|
||||
doxygen/*
|
||||
scripts/*
|
@ -4,7 +4,7 @@ JMAQuatLerp__FPC10QuaternionPC10QuaternionfP10Quaternion,JMath.o,JMath.a,false
|
||||
JMAVECScaleAdd__FPC3VecPC3VecP3Vecf,JMath.o,JMath.a,false
|
||||
JMAVECLerp__FPC3VecPC3VecP3Vecf,JMath.o,JMath.a,false
|
||||
JMAMTXApplyScale__FPA4_CfPA4_ffff,JMath.o,JMath.a,false
|
||||
__ct__Q25JMath13TRandom_fast_FUl,random.o,JMath.a,false
|
||||
__ct__Q25JMath13TRandom_fast_FUl,random.o,JMath.a,true
|
||||
atan2___Q25JMath18TAtanTable<1024,f>CFff,JMATrigonometric.o,JMath.a,false
|
||||
__sinit_\JMATrigonometric_cpp,JMATrigonometric.o,JMath.a,false
|
||||
get___Q25JMath18TAtanTable<1024,f>CFff,JMATrigonometric.o,JMath.a,false
|
||||
|
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "JSystem",
|
||||
"message": "3.461%",
|
||||
"message": "3.57%",
|
||||
"color": "blue"
|
||||
}
|
@ -9,7 +9,7 @@
|
||||
| Object | Percentage (of Bytes) | Functions Done / Total Functions | Percentage (Functions) | Status
|
||||
| ------------- | ------------- | ------------- | ------------- | -------------
|
||||
| JKRHeap.o | 65.04065040650406% | 43 / 48 | 89.58333333333334% | :eight_pointed_black_star:
|
||||
| JKRExpHeap.o | 12.492869366799772% | 8 / 40 | 20.0% | :eight_pointed_black_star:
|
||||
| JKRExpHeap.o | 18.083285795778664% | 10 / 40 | 25.0% | :eight_pointed_black_star:
|
||||
| JKRSolidHeap.o | 0.0% | 0 / 20 | 0.0% | :x:
|
||||
| JKRUnitHeap.o | 0.0% | 0 / 26 | 0.0% | :x:
|
||||
| JKRDisposer.o | 100.0% | 3 / 3 | 100.0% | :white_check_mark:
|
||||
@ -90,8 +90,8 @@
|
||||
| Symbol | Decompiled? |
|
||||
| ------------- | ------------- |
|
||||
| createRoot__10JKRExpHeapFib | :white_check_mark: |
|
||||
| create__10JKRExpHeapFUlP7JKRHeapb | :x: |
|
||||
| create__10JKRExpHeapFPvUlP7JKRHeapb | :x: |
|
||||
| create__10JKRExpHeapFUlP7JKRHeapb | :white_check_mark: |
|
||||
| create__10JKRExpHeapFPvUlP7JKRHeapb | :white_check_mark: |
|
||||
| do_destroy__10JKRExpHeapFv | :white_check_mark: |
|
||||
| __ct__10JKRExpHeapFPvUlP7JKRHeapb | :white_check_mark: |
|
||||
| __dt__10JKRExpHeapFv | :x: |
|
||||
|
@ -9,7 +9,7 @@
|
||||
| Object | Percentage (of Bytes) | Functions Done / Total Functions | Percentage (Functions) | Status
|
||||
| ------------- | ------------- | ------------- | ------------- | -------------
|
||||
| JMath.o | 0.0% | 0 / 5 | 0.0% | :x:
|
||||
| random.o | 0.0% | 0 / 1 | 0.0% | :x:
|
||||
| random.o | 100.0% | 1 / 1 | 100.0% | :white_check_mark:
|
||||
| JMATrigonometric.o | 0.0% | 0 / 6 | 0.0% | :x:
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
# random.o
|
||||
| Symbol | Decompiled? |
|
||||
| ------------- | ------------- |
|
||||
| __ct__Q25JMath13TRandom_fast_FUl | :x: |
|
||||
| __ct__Q25JMath13TRandom_fast_FUl | :white_check_mark: |
|
||||
|
||||
|
||||
# JMATrigonometric.o
|
||||
|
12
libs/JSystem/include/JSystem/JMath/random.h
Normal file
12
libs/JSystem/include/JSystem/JMath/random.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <revolution.h>
|
||||
|
||||
namespace JMath {
|
||||
class TRandom_fast_ {
|
||||
public:
|
||||
TRandom_fast_(u32);
|
||||
|
||||
u32 mSeed; // _0
|
||||
};
|
||||
};
|
7
libs/JSystem/source/JSystem/JMath/random.cpp
Normal file
7
libs/JSystem/source/JSystem/JMath/random.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include "JSystem/JMath/random.h"
|
||||
|
||||
namespace JMath {
|
||||
TRandom_fast_::TRandom_fast_(u32 seed) : mSeed(seed) {
|
||||
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user