-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibSceCdlgG2P.c
74 lines (64 loc) · 2.86 KB
/
libSceCdlgG2P.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_sceG2PDialogClose;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogClose\n"
".type sceG2PDialogClose @function\n"
"sceG2PDialogClose:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogClose]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogGetResult;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogGetResult\n"
".type sceG2PDialogGetResult @function\n"
"sceG2PDialogGetResult:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogGetResult]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogGetStatus;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogGetStatus\n"
".type sceG2PDialogGetStatus @function\n"
"sceG2PDialogGetStatus:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogGetStatus]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogInitialize;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogInitialize\n"
".type sceG2PDialogInitialize @function\n"
"sceG2PDialogInitialize:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogInitialize]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogOpen;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogOpen\n"
".type sceG2PDialogOpen @function\n"
"sceG2PDialogOpen:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogOpen]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogTerminate;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogTerminate\n"
".type sceG2PDialogTerminate @function\n"
"sceG2PDialogTerminate:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogTerminate]\n");
static __attribute__ ((used)) void* __ptr_sceG2PDialogUpdateStatus;
asm(".intel_syntax noprefix\n"
".global sceG2PDialogUpdateStatus\n"
".type sceG2PDialogUpdateStatus @function\n"
"sceG2PDialogUpdateStatus:\n"
"jmp qword ptr [rip + __ptr_sceG2PDialogUpdateStatus]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceCdlgG2P", &__handle)) return;
if(sprx_dlsym(__handle, "2pEUrnXGxys", &__ptr_sceG2PDialogClose)) return;
if(sprx_dlsym(__handle, "vpA-xXvhfeY", &__ptr_sceG2PDialogGetResult)) return;
if(sprx_dlsym(__handle, "Wi6pRLPS8cc", &__ptr_sceG2PDialogGetStatus)) return;
if(sprx_dlsym(__handle, "SWRH9B4oil8", &__ptr_sceG2PDialogInitialize)) return;
if(sprx_dlsym(__handle, "biwS5HG-DBY", &__ptr_sceG2PDialogOpen)) return;
if(sprx_dlsym(__handle, "jdhjw0pRmyQ", &__ptr_sceG2PDialogTerminate)) return;
if(sprx_dlsym(__handle, "tkRwnzG4Tus", &__ptr_sceG2PDialogUpdateStatus)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}