diff options
| author | Aetias <144526980+AetiasHax@users.noreply.github.com> | 2024-04-20 13:46:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-20 13:46:13 +0200 |
| commit | e54e6a277cbdcd3830e9258be2577fe974e51b1a (patch) | |
| tree | 9e60352819362fd17370823290b6a2c33ffc484d /libs/cpp/include | |
| parent | 6415abdc571f38fe7f4f24880fd93da9105a00f8 (diff) | |
| parent | d874460fa2d487c724a0f947b8a67d8ab1d7f7fd (diff) | |
Merge pull request #31 from AetiasHax/global-object
Support for decompiling static initializers
Diffstat (limited to 'libs/cpp/include')
| -rw-r--r-- | libs/cpp/include/global_destructor_chain.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/cpp/include/global_destructor_chain.h b/libs/cpp/include/global_destructor_chain.h new file mode 100644 index 00000000..5939216e --- /dev/null +++ b/libs/cpp/include/global_destructor_chain.h @@ -0,0 +1,10 @@ +#pragma once + +typedef struct DestructorChain { + /* 0 */ struct DestructorChain *next; + /* 4 */ void *destructor; + /* 8 */ void *object; + /* c */ +} DestructorChain; + +void* __register_global_object(void *object, void *destructor, DestructorChain *link); |
