diff --git a/src/game_api/game_api.hpp b/src/game_api/game_api.hpp index a8df03247..f4b632c3a 100644 --- a/src/game_api/game_api.hpp +++ b/src/game_api/game_api.hpp @@ -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(); @@ -108,7 +122,7 @@ struct GameAPI // size 0x60 void set_zoom(std::optional current, std::optional target); bool unknown1; - size_t unknown2; // pointer + UnknownAPIStuff* unknown2; Renderer* renderer; uint32_t window_width; uint32_t window_height; diff --git a/src/game_api/game_manager.hpp b/src/game_api/game_manager.hpp index 06295cf72..f8f6b803c 100644 --- a/src/game_api/game_manager.hpp +++ b/src/game_api/game_manager.hpp @@ -86,6 +86,25 @@ struct GameProps bool unknown9; bool unknown10; // there's more stuff here + std::array 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