Make function linkage use unmangled names

This commit is contained in:
2024-09-23 23:58:09 +08:00
parent 2b945e4406
commit 96ea861c26
23 changed files with 310 additions and 20 deletions

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 004010b0
// FUN_004010b0
extern "C" undefined FUN_004010b0(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_004010b0");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00401320
// FUN_00401320
extern "C" undefined FUN_00401320(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_00401320");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00470db0
// FUN_00470db0
extern "C" undefined FUN_00470db0(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_00470db0");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00472150
// FUN_00472150
extern "C" undefined FUN_00472150(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_00472150");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 004725a0
// FUN_004725a0
extern "C" undefined FUN_004725a0(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_004725a0");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 004fb300
// FUN_004fb300
extern "C" undefined FUN_004fb300(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_004fb300");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00503710
// FUN_00503710
extern "C" undefined FUN_00503710(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_00503710");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 005038e0
// FUN_005038e0
extern "C" undefined FUN_005038e0(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: FUN_005038e0");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00401310
// g_setInitVar0
extern "C" void g_setInitVar0(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: g_setInitVar0");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00470be0
// gfx_init2
extern "C" undefined gfx_init2(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: gfx_init2");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 004464f0
// r3_checkDisc
extern "C" undefined r3_checkDisc(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_checkDisc");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 0047bb00
// r3_get_gli_height1
extern "C" int r3_get_gli_height1(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_get_gli_height1");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 0047baf0
// r3_get_gli_width1
extern "C" undefined4 r3_get_gli_width1(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_get_gli_width1");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00401220
// r3_initEngine
extern "C" undefined r3_initEngine(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_initEngine");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00401000
// r3_module0_init
extern "C" undefined r3_module0_init(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_module0_init");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 00402140
// r3_setupWindow
extern "C" undefined r3_setupWindow(undefined4 hInstance, undefined4 param_2, undefined4 maximizeWindow) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_setupWindow");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 0043e540
// r3_wait_for_dvd
extern "C" undefined r3_wait_for_dvd(undefined4 param_1, undefined4 param_2, undefined4 param_3) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: r3_wait_for_dvd");
}

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 <gh_auto_binder.h>
#include "../gh_global.h"
#include <stdexcept>
// 004477d0
// spawnThread
extern "C" undefined spawnThread(void) {
// TODO: Implement this function
throw std::runtime_error("Function not implemented: spawnThread");
}