-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceGvMp4Parser.c
58 lines (50 loc) · 3.91 KB
/
libSceGvMp4Parser.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__ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv;
asm(".intel_syntax noprefix\n"
".global _ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv\n"
".type _ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv @function\n"
"_ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv:\n"
"jmp qword ptr [rip + __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv]\n");
static __attribute__ ((used)) void* __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv;
asm(".intel_syntax noprefix\n"
".global _ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv\n"
".type _ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv @function\n"
"_ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv:\n"
"jmp qword ptr [rip + __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv]\n");
static __attribute__ ((used)) void* __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_;
asm(".intel_syntax noprefix\n"
".global _ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_\n"
".type _ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_ @function\n"
"_ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_:\n"
"jmp qword ptr [rip + __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_]\n");
static __attribute__ ((used)) void* __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE;
asm(".intel_syntax noprefix\n"
".global _ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE\n"
".type _ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE @function\n"
"_ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE:\n"
"jmp qword ptr [rip + __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE]\n");
static __attribute__ ((used)) void* __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE;
asm(".intel_syntax noprefix\n"
".global _ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE\n"
".type _ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE @function\n"
"_ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE:\n"
"jmp qword ptr [rip + __ptr__ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceGvMp4Parser", &__handle)) return;
if(sprx_dlsym(__handle, "PVun5K6ohaI", &__ptr__ZN23sceMetadataReaderWriter11gvMp4Parser19gvMp4ParserFinalizeEv)) return;
if(sprx_dlsym(__handle, "9nIhaALWeGo", &__ptr__ZN23sceMetadataReaderWriter11gvMp4Parser21gvMp4ParserInitializeEv)) return;
if(sprx_dlsym(__handle, "FSGjsbLwaVI", &__ptr__ZN23sceMetadataReaderWriter11gvMp4Parser23gvMp4ParserReadMetadataERKSsRKNS_8MetadataERS3_)) return;
if(sprx_dlsym(__handle, "lcMM4ecaoz0", &__ptr__ZN23sceMetadataReaderWriter11gvMp4Parser24gvMp4ParserWriteMetadataERKSsRKNS_8MetadataE)) return;
if(sprx_dlsym(__handle, "qe-vjGkl2a8", &__ptr__ZN23sceMetadataReaderWriter11gvMp4Parser27gvMp4ParserExtractThumbnailERKSsRNS_9ThumbnailE)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}