papermario/src/obfuscation_shims.c
Ethan Roseman 9f00021dbe
DMA_COPY_SEGMENT macro for straightforward DMAs of segments (#1096)
* DMA_SEGMENT macro for straightforward DMAs of segments

* PRomment
2023-07-25 03:04:21 +09:00

28 lines
775 B
C

#include "common.h"
#include "ld_addrs.h"
void create_audio_system_obfuscated(void);
void load_engine_data_obfuscated(void);
void general_heap_create_obfuscated(void);
void battle_heap_create_obfuscated(void);
void shim_create_audio_system_obfuscated(void) {
DMA_COPY_SEGMENT(create_audio_system_obfuscated);
create_audio_system_obfuscated();
}
void shim_load_engine_data_obfuscated(void) {
DMA_COPY_SEGMENT(load_engine_data_obfuscated);
load_engine_data_obfuscated();
}
void shim_general_heap_create_obfuscated(void) {
DMA_COPY_SEGMENT(general_heap_create_obfuscated);
general_heap_create_obfuscated();
}
void shim_battle_heap_create_obfuscated(void) {
DMA_COPY_SEGMENT(battle_heap_create_obfuscated);
battle_heap_create_obfuscated();
}