-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceCdlgPlayerReview.c
74 lines (64 loc) · 3.24 KB
/
libSceCdlgPlayerReview.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
/*
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_scePlayerReviewDialogClose;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogClose\n"
".type scePlayerReviewDialogClose @function\n"
"scePlayerReviewDialogClose:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogClose]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogGetResult;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogGetResult\n"
".type scePlayerReviewDialogGetResult @function\n"
"scePlayerReviewDialogGetResult:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogGetResult]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogGetStatus;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogGetStatus\n"
".type scePlayerReviewDialogGetStatus @function\n"
"scePlayerReviewDialogGetStatus:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogGetStatus]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogInitialize;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogInitialize\n"
".type scePlayerReviewDialogInitialize @function\n"
"scePlayerReviewDialogInitialize:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogInitialize]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogOpen;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogOpen\n"
".type scePlayerReviewDialogOpen @function\n"
"scePlayerReviewDialogOpen:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogOpen]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogTerminate;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogTerminate\n"
".type scePlayerReviewDialogTerminate @function\n"
"scePlayerReviewDialogTerminate:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogTerminate]\n");
static __attribute__ ((used)) void* __ptr_scePlayerReviewDialogUpdateStatus;
asm(".intel_syntax noprefix\n"
".global scePlayerReviewDialogUpdateStatus\n"
".type scePlayerReviewDialogUpdateStatus @function\n"
"scePlayerReviewDialogUpdateStatus:\n"
"jmp qword ptr [rip + __ptr_scePlayerReviewDialogUpdateStatus]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceCdlgPlayerReview", &__handle)) return;
if(sprx_dlsym(__handle, "HDMHJ9zsCFg", &__ptr_scePlayerReviewDialogClose)) return;
if(sprx_dlsym(__handle, "VuKbx6zlEG4", &__ptr_scePlayerReviewDialogGetResult)) return;
if(sprx_dlsym(__handle, "UYw6RlK7bcQ", &__ptr_scePlayerReviewDialogGetStatus)) return;
if(sprx_dlsym(__handle, "UtXl-tmi7iw", &__ptr_scePlayerReviewDialogInitialize)) return;
if(sprx_dlsym(__handle, "CtygVRCL+bA", &__ptr_scePlayerReviewDialogOpen)) return;
if(sprx_dlsym(__handle, "RmJKkzZFNFA", &__ptr_scePlayerReviewDialogTerminate)) return;
if(sprx_dlsym(__handle, "4J5F23VgTjY", &__ptr_scePlayerReviewDialogUpdateStatus)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}