Skip to content

Commit

Permalink
garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Nov 3, 2023
1 parent 8b762a7 commit cd415e2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/game_api/game_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@ struct Renderer
virtual void some_dx_stuff() = 0; // it actually has a ton of parameters
};

struct UnknownAPIStuff
{
uint32_t unknown1;
int32_t unknown2; // -1

uint8_t unknown3;
uint8_t unknown4;
uint8_t unknown5;
uint8_t unknown6;
uint32_t unknown7; // padding?


};

struct GameAPI // size 0x60
{
static GameAPI* get();
Expand All @@ -108,7 +122,7 @@ struct GameAPI // size 0x60
void set_zoom(std::optional<float> current, std::optional<float> target);

bool unknown1;
size_t unknown2; // pointer
UnknownAPIStuff* unknown2;
Renderer* renderer;
uint32_t window_width;
uint32_t window_height;
Expand Down
19 changes: 19 additions & 0 deletions src/game_api/game_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@ struct GameProps
bool unknown9;
bool unknown10;
// there's more stuff here
std::array<size_t*, 12> unknown11; // pointers to something

int8_t input_index[5]; // not sure, just came up with this name, if not used it's -1
// for example if you just run the game and use OL to warp somewhere immediately there will be no controller setup, so all of those will be -1

// uint8_t padding_probably1[3];

int32_t unknown12; // -1
int8_t unknown13; // -1

// uint8_t padding_probably2[3];

size_t unknown14; // probably not one thig
uint32_t unknown15;

// uint32_t padding_probably3;
size_t* unknown16;
size_t unknwon17;
double unknown18; // counts time or something? only active when the game window is active
};

struct GameManager
Expand Down

0 comments on commit cd415e2

Please sign in to comment.