mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
chore(binana): add files
This commit is contained in:
commit
aa605d1aef
14 changed files with 305 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# binana
|
||||
|
||||
This repository hosts some work related to studying the original game binaries.
|
||||
|
||||
You can use the information here to get a headstart when working on the [Whoa project](https://github.com/whoahq/whoa).
|
||||
|
||||
# Header files
|
||||
|
||||
To make reverse engineering easier, C header files matching the original memory layout are provided.
|
||||
|
||||
The header `<game version>/include/main.h` to import type definitions into your analysis repository.
|
||||
|
||||
Headers should be restricted at all times to the C programming language only. C++ syntax will break type analysis.
|
||||
|
||||
To convert C++ namespaces, use double-underscores. For instance:
|
||||
|
||||
```cpp
|
||||
void Name::Space::Thing();
|
||||
```
|
||||
|
||||
should become:
|
||||
|
||||
```c
|
||||
void Name__Space__Thing();
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue