Skip to content

Commit 3bd3dc7

Browse files
committed
die
1 parent f280d4f commit 3bd3dc7

154 files changed

Lines changed: 38974 additions & 38945 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.build_counter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1838
1+
1839

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
cmake_minimum_required(VERSION 3.16)
22

33
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/sys/cmake/toolchain.cmake")
4-
project(Hakkun-Example VERSION 1.0 LANGUAGES ASM C CXX)
4+
project(BowsersFuryMultiplayer VERSION 1.0 LANGUAGES ASM C CXX)
55
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
66

77
include(config/config.cmake)
88

99
file(GLOB_RECURSE SOURCES_ASM ${PROJECT_SOURCE_DIR}/src/*.S)
1010
file(GLOB_RECURSE SOURCES_C ${PROJECT_SOURCE_DIR}/src/*.c)
1111
file(GLOB_RECURSE SOURCES_CXX ${PROJECT_SOURCE_DIR}/src/*.cpp)
12-
set(SOURCES ${SOURCES_ASM} ${SOURCES_C} ${SOURCES_CXX})
12+
file(GLOB IMGUI_SOURCES ${PROJECT_SOURCE_DIR}/lib/imgui/*.cpp)
13+
file(GLOB ENET_SOURCES ${PROJECT_SOURCE_DIR}/lib/enet-nx/source/*.c ${PROJECT_SOURCE_DIR}/lib/enet-nx/source/*.cpp)
14+
set(SOURCES ${SOURCES_ASM} ${SOURCES_C} ${SOURCES_CXX} ${IMGUI_SOURCES} ${ENET_SOURCES})
1315

1416
add_subdirectory(${PROJECT_SOURCE_DIR}/lib/penet)
1517

Makefile

Lines changed: 0 additions & 17 deletions
This file was deleted.

config/config.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(OPTIMIZE_OPTIONS_RELEASE -O3 -ffast-math -flto)
66
set(WARN_OPTIONS -Werror=return-type -Wno-invalid-offsetof)
77

88
set(INCLUDES include include/agl)
9-
set(DEFINITIONS DEBUGMENU)
9+
set(DEFINITIONS DEBUGMENU private=public protected=public)
1010

1111
set(ASM_OPTIONS "")
1212
set(C_OPTIONS -ffunction-sections -fdata-sections)
@@ -16,14 +16,14 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
1616

1717
set(IS_32_BIT FALSE)
1818
set(TARGET_IS_STATIC FALSE)
19-
set(MODULE_NAME Hakkun-Example)
20-
set(TITLE_ID 0x0100A3D008C5C000)
19+
set(MODULE_NAME BowsersFuryMultiplayer)
20+
set(TITLE_ID 0x010028600EBDA000)
2121
set(MODULE_BINARY subsdk4)
2222
set(SDK_PAST_1900 FALSE)
2323
set(USE_SAIL TRUE)
2424

25-
set(TRAMPOLINE_POOL_SIZE 0x10)
25+
set(TRAMPOLINE_POOL_SIZE 0x40)
2626
set(BAKE_SYMBOLS FALSE)
2727

28-
set(HAKKUN_ADDONS HeapSourceDynamic)
28+
set(HAKKUN_ADDONS HeapSourceDynamic LogManager)
2929
set(HAKKUN_BSS_HEAP_SIZE 0x100000)

include/pe/Util/BuildId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#pragma once
2-
#define BUILD_ID 1838
2+
#define BUILD_ID 1839

include/pe/Util/Hooks.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22

33
#include "al/LiveActor/LiveActor.h"
4+
#include "hk/ro/RoUtil.h"
45
#include "pe/Util/Nerve.h"
5-
#include "util/modules.hpp"
66

77
namespace pe {
88
namespace util {
@@ -28,7 +28,7 @@ namespace util {
2828
F ptrType;
2929
uintptr_t offset;
3030
} conv { ptr };
31-
return conv.offset - exl::util::modules::GetTargetStart();
31+
return conv.offset - hk::ro::getMainModule()->range().start();
3232
}
3333

3434
} // namespace

include/sys/socket.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#pragma once
22

3-
#include "types.h"
3+
#include <stdint.h>
44

5-
typedef u32 socklen_t;
5+
typedef uint32_t socklen_t;
66

77
struct in_addr {
8-
u32 data; // 0
8+
uint32_t data; // 0
99
};
1010

1111
struct sockaddr {
12-
u8 _0; // 0
13-
u8 family; // 1
14-
u16 port; // 2
15-
in_addr address; // 4
16-
u8 _8[8]; // 8
12+
uint8_t _0; // 0
13+
uint8_t family; // 1
14+
uint16_t port; // 2
15+
struct in_addr address; // 4
16+
uint8_t _8[8]; // 8
1717
};
1818

1919
struct pollfd {
@@ -22,7 +22,7 @@ struct pollfd {
2222
short int revents;
2323
};
2424

25-
using sockaddr_in = sockaddr;
25+
typedef struct sockaddr sockaddr_in;
2626

2727
#define POLLIN 1
2828
#define POLLOUT 4

lib/enet-nx

lib/imgui

Submodule imgui updated 143 files

0 commit comments

Comments
 (0)