-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceErrorDialog.c
82 lines (71 loc) · 3.33 KB
/
libSceErrorDialog.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
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_sceErrorDialogClose;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogClose\n"
".type sceErrorDialogClose @function\n"
"sceErrorDialogClose:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogClose]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogGetStatus;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogGetStatus\n"
".type sceErrorDialogGetStatus @function\n"
"sceErrorDialogGetStatus:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogGetStatus]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogInitialize;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogInitialize\n"
".type sceErrorDialogInitialize @function\n"
"sceErrorDialogInitialize:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogInitialize]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogOpen;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogOpen\n"
".type sceErrorDialogOpen @function\n"
"sceErrorDialogOpen:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogOpen]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogOpenDetail;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogOpenDetail\n"
".type sceErrorDialogOpenDetail @function\n"
"sceErrorDialogOpenDetail:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogOpenDetail]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogOpenWithReport;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogOpenWithReport\n"
".type sceErrorDialogOpenWithReport @function\n"
"sceErrorDialogOpenWithReport:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogOpenWithReport]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogTerminate;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogTerminate\n"
".type sceErrorDialogTerminate @function\n"
"sceErrorDialogTerminate:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogTerminate]\n");
static __attribute__ ((used)) void* __ptr_sceErrorDialogUpdateStatus;
asm(".intel_syntax noprefix\n"
".global sceErrorDialogUpdateStatus\n"
".type sceErrorDialogUpdateStatus @function\n"
"sceErrorDialogUpdateStatus:\n"
"jmp qword ptr [rip + __ptr_sceErrorDialogUpdateStatus]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceErrorDialog", &__handle)) return;
if(sprx_dlsym(__handle, "ekXHb1kDBl0", &__ptr_sceErrorDialogClose)) return;
if(sprx_dlsym(__handle, "t2FvHRXzgqk", &__ptr_sceErrorDialogGetStatus)) return;
if(sprx_dlsym(__handle, "I88KChlynSs", &__ptr_sceErrorDialogInitialize)) return;
if(sprx_dlsym(__handle, "M2ZF-ClLhgY", &__ptr_sceErrorDialogOpen)) return;
if(sprx_dlsym(__handle, "jrpnVQfJYgQ", &__ptr_sceErrorDialogOpenDetail)) return;
if(sprx_dlsym(__handle, "wktCiyWoDTI", &__ptr_sceErrorDialogOpenWithReport)) return;
if(sprx_dlsym(__handle, "9XAxK2PMwk8", &__ptr_sceErrorDialogTerminate)) return;
if(sprx_dlsym(__handle, "WWiGuh9XfgQ", &__ptr_sceErrorDialogUpdateStatus)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}