mirror of https://github.com/PrimeDecomp/prime.git
parent
21ea716106
commit
f6425fe3d8
|
@ -1,16 +1,16 @@
|
||||||
|
|
||||||
typedef struct PTMF {
|
typedef struct PTMF {
|
||||||
long this_delta; // delta to this pointer
|
long this_delta; // delta to this pointer
|
||||||
long vtbl_offset; // offset in vtable (-1: not a virtual function)
|
long vtbl_offset; // offset in vtable (-1: not a virtual function)
|
||||||
union {
|
union {
|
||||||
void* func_addr; // nonvirtual function address
|
void* func_addr; //nonvirtual function address
|
||||||
long ventry_offset; // offset of virtual function entry in vtable
|
long ventry_offset; // of virtual function entry in vtable
|
||||||
} func_data;
|
} func_data;
|
||||||
} PTMF;
|
} PTMF;
|
||||||
|
|
||||||
const PTMF __ptmf_null = { 0, 0, 0 };
|
const PTMF __ptmf_null = {0, 0, 0};
|
||||||
|
|
||||||
/* clang-format off*/
|
/* clang-format off */
|
||||||
asm void __ptmf_test(register PTMF* ptmf) {
|
asm void __ptmf_test(register PTMF* ptmf) {
|
||||||
nofralloc
|
nofralloc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue