-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6069e3
commit 6b6466a
Showing
4 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include "common.h" | ||
|
||
struct RNG { | ||
undefined4 field0_0x0; | ||
undefined4 field1_0x4; | ||
undefined4 field2_0x8; | ||
undefined4 field3_0xc; | ||
undefined4 field4_0x10; | ||
undefined4 field5_0x14; | ||
undefined4 field6_0x18; | ||
undefined4 field7_0x1c; | ||
undefined4 field8_0x20; | ||
undefined4 field9_0x24; | ||
undefined4 field10_0x28; | ||
undefined4 field11_0x2c; | ||
undefined4 field12_0x30; | ||
undefined4 field13_0x34; | ||
undefined4 field14_0x38; | ||
undefined4 field15_0x3c; | ||
undefined4 field16_0x40; | ||
undefined4 field17_0x44; | ||
undefined4 field18_0x48; | ||
undefined4 field19_0x4c; | ||
undefined4 field20_0x50; | ||
undefined4 field21_0x54; | ||
uint next; | ||
}; | ||
|
||
extern "C" void srand(uint seed); | ||
|
||
extern "C" uint rand(); | ||
|
||
extern struct RNG g_rng; | ||
extern struct RNG *g_prng; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters