Danganronpa: Trigger Happy Havoc/Disassembly: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Disassembly == This is a community page for the disassembly of Trigger Happy Havoc, to assist in community projects. All addresses are calculated with an image base of 0, i...") |
|||
Line 48: | Line 48: | ||
|Returns a pointer to 00359e74 | |Returns a pointer to 00359e74 | ||
|Checked in 001193a0 | |Checked in 001193a0 | ||
|- | |||
|001c7f10 | |||
|[memset](https://cplusplus.com/reference/cstring/memset/) | |||
| | |||
|void * ptr, int value, size_t num | |||
|void* | |||
|Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char). | |||
|} | |} |
Revision as of 09:59, 16 July 2022
Disassembly
This is a community page for the disassembly of Trigger Happy Havoc, to assist in community projects. All addresses are calculated with an image base of 0, in hexadecimal.
Variables
Variables | ||||
---|---|---|---|---|
Offset | Name | Data Type | Purpose | Notes |
00359e74 | IsDirect3DLoaded | Boolean | Has Direct3D been set up yet | Pointer returned by 00120080, checked in 001193a0; seems to actually contain some extra data, will update soon |
Functions
Functions | ||||||
---|---|---|---|---|---|---|
Offset | Name | Calling Type | Arguments | Return Type | Purpose | Notes |
001193a0 | CheckAndLoadDirect3D | int* | Loads Direct3D if it hasn't been loaded yet | |||
00120080 | GetIsDirect3DLoadedPtr | int* | Returns a pointer to 00359e74 | Checked in 001193a0 | ||
001c7f10 | [memset](https://cplusplus.com/reference/cstring/memset/) | void * ptr, int value, size_t num | void* | Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char). |