summaryrefslogtreecommitdiff
path: root/include/System/SysNew.hpp
blob: 4d3c3f7c1299d867c00e799af053c79324e7392a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "types.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);

class SysObject {
public:
    static void *operator new(unsigned long length, u32 *id, u32 idLength);
    static void *operator new[](unsigned long length, u32 *id, u32 idLength);
    static void operator delete(void *ptr);
    static void operator delete[](void *ptr);
};