-
Notifications
You must be signed in to change notification settings - Fork 0
/
libReactNative.Modules.Vsh.MediaPlayer.Contents.c
58 lines (50 loc) · 2.14 KB
/
libReactNative.Modules.Vsh.MediaPlayer.Contents.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_GetContentFileStatusLib;
asm(".intel_syntax noprefix\n"
".global GetContentFileStatusLib\n"
".type GetContentFileStatusLib @function\n"
"GetContentFileStatusLib:\n"
"jmp qword ptr [rip + __ptr_GetContentFileStatusLib]\n");
static __attribute__ ((used)) void* __ptr_GetPhotoInfoLib;
asm(".intel_syntax noprefix\n"
".global GetPhotoInfoLib\n"
".type GetPhotoInfoLib @function\n"
"GetPhotoInfoLib:\n"
"jmp qword ptr [rip + __ptr_GetPhotoInfoLib]\n");
static __attribute__ ((used)) void* __ptr_GetUsbThumbnailEntryListLib;
asm(".intel_syntax noprefix\n"
".global GetUsbThumbnailEntryListLib\n"
".type GetUsbThumbnailEntryListLib @function\n"
"GetUsbThumbnailEntryListLib:\n"
"jmp qword ptr [rip + __ptr_GetUsbThumbnailEntryListLib]\n");
static __attribute__ ((used)) void* __ptr_InitializeLib;
asm(".intel_syntax noprefix\n"
".global InitializeLib\n"
".type InitializeLib @function\n"
"InitializeLib:\n"
"jmp qword ptr [rip + __ptr_InitializeLib]\n");
static __attribute__ ((used)) void* __ptr_TerminateLib;
asm(".intel_syntax noprefix\n"
".global TerminateLib\n"
".type TerminateLib @function\n"
"TerminateLib:\n"
"jmp qword ptr [rip + __ptr_TerminateLib]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libReactNative.Modules.Vsh.MediaPlayer.Contents", &__handle)) return;
if(sprx_dlsym(__handle, "4Yyat0vtan0", &__ptr_GetContentFileStatusLib)) return;
if(sprx_dlsym(__handle, "7niGF7s7qHU", &__ptr_GetPhotoInfoLib)) return;
if(sprx_dlsym(__handle, "1d7jXAh8SH8", &__ptr_GetUsbThumbnailEntryListLib)) return;
if(sprx_dlsym(__handle, "SPVkdqBsosQ", &__ptr_InitializeLib)) return;
if(sprx_dlsym(__handle, "QMHNcV-DHGE", &__ptr_TerminateLib)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}