mirror of
https://github.com/encounter/ph.git
synced 2026-03-30 11:34:37 -07:00
aee9c362bb
* Remove `force_data` macro * Use size_t in `operator new` * Bump objdiff to v3.0.0-beta.10 * Decompile functions using gRandom * ActorRupee 90% * Fix old gRandom.Next calls * Revert objdiff * Clean up
32 lines
754 B
C++
32 lines
754 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
#include <stddef.h>
|
|
|
|
struct UnkStruct_0202e894 {
|
|
/* 00 */ u32 mId;
|
|
/* 04 */ u32 *mUnk_04;
|
|
/* 08 */ unk8 mUnk_08[0x24];
|
|
/* 2c */
|
|
};
|
|
|
|
void *SysNew(UnkStruct_0202e894 *param1, s32 length, s32 param3);
|
|
void SysDelete(void *ptr);
|
|
void *func_0202e99c(s32 length);
|
|
void *func_0202e9bc(s32 length);
|
|
|
|
extern u32 *data_027e0ce0[];
|
|
|
|
class SysObject {
|
|
public:
|
|
static void *operator new(size_t length, u32 *id, u32 idLength);
|
|
static void *operator new[](size_t length, u32 *id, u32 idLength);
|
|
static void operator delete(void *ptr);
|
|
static void operator delete[](void *ptr);
|
|
};
|
|
|
|
extern u32 *data_027e0ce0[];
|
|
extern UnkStruct_0202e894 *data_027e0ce4;
|