| 23 | |
| 24 | namespace N64Recomp { |
| 25 | struct Function { |
| 26 | uint32_t vram; |
| 27 | uint32_t rom; |
| 28 | std::vector<uint32_t> words; |
| 29 | std::string name; |
| 30 | uint16_t section_index; |
| 31 | bool ignored; |
| 32 | bool reimplemented; |
| 33 | bool stubbed; |
| 34 | std::unordered_map<int32_t, std::string> function_hooks; |
| 35 | |
| 36 | Function(uint32_t vram, uint32_t rom, std::vector<uint32_t> words, std::string name, uint16_t section_index, bool ignored = false, bool reimplemented = false, bool stubbed = false) |
| 37 | : vram(vram), rom(rom), words(std::move(words)), name(std::move(name)), section_index(section_index), ignored(ignored), reimplemented(reimplemented), stubbed(stubbed) {} |
| 38 | Function() = default; |
| 39 | }; |
| 40 | |
| 41 | struct JumpTable { |
| 42 | uint32_t vram; |
nothing calls this directly
no outgoing calls
no test coverage detected