-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceCustomMusicAudioOut.c
58 lines (50 loc) · 2.59 KB
/
libSceCustomMusicAudioOut.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
This file was generated by genstub.py, do not edit manually!
*/
int sprx_dlsym(unsigned int handle, const char *nid, void *addr);
int sprx_dlopen(const char* libname, unsigned short *handle);
int sprx_dlclose(unsigned int handle);
static __attribute__ ((used)) void* __ptr_sceCustomMusicAudioOutFinalize;
asm(".intel_syntax noprefix\n"
".global sceCustomMusicAudioOutFinalize\n"
".type sceCustomMusicAudioOutFinalize @function\n"
"sceCustomMusicAudioOutFinalize:\n"
"jmp qword ptr [rip + __ptr_sceCustomMusicAudioOutFinalize]\n");
static __attribute__ ((used)) void* __ptr_sceCustomMusicAudioOutGetAllMusicVolume;
asm(".intel_syntax noprefix\n"
".global sceCustomMusicAudioOutGetAllMusicVolume\n"
".type sceCustomMusicAudioOutGetAllMusicVolume @function\n"
"sceCustomMusicAudioOutGetAllMusicVolume:\n"
"jmp qword ptr [rip + __ptr_sceCustomMusicAudioOutGetAllMusicVolume]\n");
static __attribute__ ((used)) void* __ptr_sceCustomMusicAudioOutGetMuted;
asm(".intel_syntax noprefix\n"
".global sceCustomMusicAudioOutGetMuted\n"
".type sceCustomMusicAudioOutGetMuted @function\n"
"sceCustomMusicAudioOutGetMuted:\n"
"jmp qword ptr [rip + __ptr_sceCustomMusicAudioOutGetMuted]\n");
static __attribute__ ((used)) void* __ptr_sceCustomMusicAudioOutGetVolume;
asm(".intel_syntax noprefix\n"
".global sceCustomMusicAudioOutGetVolume\n"
".type sceCustomMusicAudioOutGetVolume @function\n"
"sceCustomMusicAudioOutGetVolume:\n"
"jmp qword ptr [rip + __ptr_sceCustomMusicAudioOutGetVolume]\n");
static __attribute__ ((used)) void* __ptr_sceCustomMusicAudioOutSetAllMusicVolume;
asm(".intel_syntax noprefix\n"
".global sceCustomMusicAudioOutSetAllMusicVolume\n"
".type sceCustomMusicAudioOutSetAllMusicVolume @function\n"
"sceCustomMusicAudioOutSetAllMusicVolume:\n"
"jmp qword ptr [rip + __ptr_sceCustomMusicAudioOutSetAllMusicVolume]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceCustomMusicAudioOut", &__handle)) return;
if(sprx_dlsym(__handle, "n0BEVlnSNcY", &__ptr_sceCustomMusicAudioOutFinalize)) return;
if(sprx_dlsym(__handle, "GZ2fZbzgixo", &__ptr_sceCustomMusicAudioOutGetAllMusicVolume)) return;
if(sprx_dlsym(__handle, "vT2xmTf1RHU", &__ptr_sceCustomMusicAudioOutGetMuted)) return;
if(sprx_dlsym(__handle, "yZZX3eafqV4", &__ptr_sceCustomMusicAudioOutGetVolume)) return;
if(sprx_dlsym(__handle, "cIvB0ao1MVA", &__ptr_sceCustomMusicAudioOutSetAllMusicVolume)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}