2020-11-24 20:48:38 -05:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-17 21:11:09 -04:00
|
|
|
#include <string>
|
2022-06-22 23:37:46 -04:00
|
|
|
#include <vector>
|
|
|
|
|
2020-11-24 20:48:38 -05:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
2021-01-06 20:04:15 -05:00
|
|
|
namespace decompiler {
|
2020-11-24 20:48:38 -05:00
|
|
|
struct GameCountResult {
|
|
|
|
struct CountInfo {
|
|
|
|
s32 money_count;
|
|
|
|
s32 buzzer_count;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::vector<CountInfo> info;
|
|
|
|
u32 mystery_data[2];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ObjectFileData;
|
|
|
|
GameCountResult process_game_count(ObjectFileData& data);
|
2021-01-06 20:04:15 -05:00
|
|
|
std::string write_game_count(const GameCountResult& result);
|
|
|
|
} // namespace decompiler
|