Add script to rebuild and regenerate function database

This commit is contained in:
2024-09-30 22:47:09 +08:00
parent 48889fcf1d
commit 9a8f5253b9
14 changed files with 1745 additions and 117 deletions

View File

@@ -6,9 +6,9 @@
#include <gh_global.h>
#include <stdexcept>
// 00445440
// FUN_00445440
extern "C" undefined FUN_00445440(void) {
// 004011e0
// FUN_004011e0
extern "C" undefined FUN_004011e0(void) {
// TODO: Implement this function
throw GHStubException("Function not implemented: FUN_00445440");
throw GHStubException("Function not implemented: FUN_004011e0");
}

View File

@@ -6,9 +6,9 @@
#include <gh_global.h>
#include <stdexcept>
// 00449660
// r3_module4_init
extern "C" undefined r3_module4_init(void) {
// 00401110
// fn_vChooseTheGoodInit
extern "C" undefined fn_vChooseTheGoodInit(void) {
// TODO: Implement this function
throw GHStubException("Function not implemented: r3_module4_init");
throw GHStubException("Function not implemented: fn_vChooseTheGoodInit");
}

View File

@@ -6,9 +6,9 @@
#include <gh_global.h>
#include <stdexcept>
// 00441e70
// r3_readBinkVideoConfig
extern "C" void r3_readBinkVideoConfig(void) {
// 00401130
// r3_checkEngineTermination
extern "C" int r3_checkEngineTermination(void) {
// TODO: Implement this function
throw GHStubException("Function not implemented: r3_readBinkVideoConfig");
throw GHStubException("Function not implemented: r3_checkEngineTermination");
}

View File

@@ -0,0 +1,14 @@
// AUTO-GENERATED FILE!!!!
// This function has yet to be decompiled using 'Dump Current Function' in ghidra
// with possible manualy fixes
#include <r3/binders/auto.h>
#include <gh_global.h>
#include <stdexcept>
// 00401150
// r3_engine_init_phase_adv2_is_2_6_8
extern "C" undefined r3_engine_init_phase_adv2_is_2_6_8(void) {
// TODO: Implement this function
throw GHStubException("Function not implemented: r3_engine_init_phase_adv2_is_2_6_8");
}

View File

@@ -6,9 +6,9 @@
#include <gh_global.h>
#include <stdexcept>
// 0049b5a0
// FUN_0049b5a0
extern "C" undefined FUN_0049b5a0(void) {
// 00401120
// thunk_FUN_00444a80
extern "C" undefined thunk_FUN_00444a80(void) {
// TODO: Implement this function
throw GHStubException("Function not implemented: FUN_0049b5a0");
throw GHStubException("Function not implemented: thunk_FUN_00444a80");
}