mirror of
https://github.com/zeldaret/st
synced 2026-06-24 01:11:36 -04:00
Decompile 031_Land/Actor/ActorRupee.cpp (#3)
* delink ActorRupee and match few functions * add missing functions, mangle names and match func_ov031_020e9d54 * random stuff (literally) * decomp more of ActorRupee * rng stuff (thanks to aetias) * decomp more of ActorRupee (36%) * sync symbols * format * random: fixed wrong function call in configure.py * decomp more of ActorRupee (51%) * add actor ids and move them to their own header + small docs on actor class * format * improvements and small progress * progress * progress * sync eur with jp * fix build issues * missed a file
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "System/Random.hpp"
|
||||
#include "types.h"
|
||||
|
||||
ARM extern "C" void func_02017ea4(u16 *param1) {
|
||||
*param1 = gRandom.Next(0, 0x100000000) >> 16;
|
||||
}
|
||||
|
||||
ARM extern "C" void func_02017ee4(u16 *param1) {
|
||||
*param1 = gRandom.Next(0, 4) << 14;
|
||||
}
|
||||
Reference in New Issue
Block a user