-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceDepth.c
322 lines (281 loc) · 15.2 KB
/
libSceDepth.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
/*
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__sceDepthCalcHeteroAdjustParam;
asm(".intel_syntax noprefix\n"
".global _sceDepthCalcHeteroAdjustParam\n"
".type _sceDepthCalcHeteroAdjustParam @function\n"
"_sceDepthCalcHeteroAdjustParam:\n"
"jmp qword ptr [rip + __ptr__sceDepthCalcHeteroAdjustParam]\n");
static __attribute__ ((used)) void* __ptr__sceDepthHeadCandidateTrackerGetInformation;
asm(".intel_syntax noprefix\n"
".global _sceDepthHeadCandidateTrackerGetInformation\n"
".type _sceDepthHeadCandidateTrackerGetInformation @function\n"
"_sceDepthHeadCandidateTrackerGetInformation:\n"
"jmp qword ptr [rip + __ptr__sceDepthHeadCandidateTrackerGetInformation]\n");
static __attribute__ ((used)) void* __ptr__sceDepthHeadCandidateTrackerSetInformation;
asm(".intel_syntax noprefix\n"
".global _sceDepthHeadCandidateTrackerSetInformation\n"
".type _sceDepthHeadCandidateTrackerSetInformation @function\n"
"_sceDepthHeadCandidateTrackerSetInformation:\n"
"jmp qword ptr [rip + __ptr__sceDepthHeadCandidateTrackerSetInformation]\n");
static __attribute__ ((used)) void* __ptr__sceDepthSetCameraFactoryCalibrationData;
asm(".intel_syntax noprefix\n"
".global _sceDepthSetCameraFactoryCalibrationData\n"
".type _sceDepthSetCameraFactoryCalibrationData @function\n"
"_sceDepthSetCameraFactoryCalibrationData:\n"
"jmp qword ptr [rip + __ptr__sceDepthSetCameraFactoryCalibrationData]\n");
static __attribute__ ((used)) void* __ptr__sceDepthSetHeteroAdjustParam;
asm(".intel_syntax noprefix\n"
".global _sceDepthSetHeteroAdjustParam\n"
".type _sceDepthSetHeteroAdjustParam @function\n"
"_sceDepthSetHeteroAdjustParam:\n"
"jmp qword ptr [rip + __ptr__sceDepthSetHeteroAdjustParam]\n");
static __attribute__ ((used)) void* __ptr__sceDepthSetHeteroMode;
asm(".intel_syntax noprefix\n"
".global _sceDepthSetHeteroMode\n"
".type _sceDepthSetHeteroMode @function\n"
"_sceDepthSetHeteroMode:\n"
"jmp qword ptr [rip + __ptr__sceDepthSetHeteroMode]\n");
static __attribute__ ((used)) void* __ptr_sceDepthCalculateRectificationInformation;
asm(".intel_syntax noprefix\n"
".global sceDepthCalculateRectificationInformation\n"
".type sceDepthCalculateRectificationInformation @function\n"
"sceDepthCalculateRectificationInformation:\n"
"jmp qword ptr [rip + __ptr_sceDepthCalculateRectificationInformation]\n");
static __attribute__ ((used)) void* __ptr_sceDepthDisableHeteroMode;
asm(".intel_syntax noprefix\n"
".global sceDepthDisableHeteroMode\n"
".type sceDepthDisableHeteroMode @function\n"
"sceDepthDisableHeteroMode:\n"
"jmp qword ptr [rip + __ptr_sceDepthDisableHeteroMode]\n");
static __attribute__ ((used)) void* __ptr_sceDepthEnableExtendedMode;
asm(".intel_syntax noprefix\n"
".global sceDepthEnableExtendedMode\n"
".type sceDepthEnableExtendedMode @function\n"
"sceDepthEnableExtendedMode:\n"
"jmp qword ptr [rip + __ptr_sceDepthEnableExtendedMode]\n");
static __attribute__ ((used)) void* __ptr_sceDepthEnableHeteroMode;
asm(".intel_syntax noprefix\n"
".global sceDepthEnableHeteroMode\n"
".type sceDepthEnableHeteroMode @function\n"
"sceDepthEnableHeteroMode:\n"
"jmp qword ptr [rip + __ptr_sceDepthEnableHeteroMode]\n");
static __attribute__ ((used)) void* __ptr_sceDepthEnableHeteroModeAndGenerateInformation;
asm(".intel_syntax noprefix\n"
".global sceDepthEnableHeteroModeAndGenerateInformation\n"
".type sceDepthEnableHeteroModeAndGenerateInformation @function\n"
"sceDepthEnableHeteroModeAndGenerateInformation:\n"
"jmp qword ptr [rip + __ptr_sceDepthEnableHeteroModeAndGenerateInformation]\n");
static __attribute__ ((used)) void* __ptr_sceDepthGetCalibrationData;
asm(".intel_syntax noprefix\n"
".global sceDepthGetCalibrationData\n"
".type sceDepthGetCalibrationData @function\n"
"sceDepthGetCalibrationData:\n"
"jmp qword ptr [rip + __ptr_sceDepthGetCalibrationData]\n");
static __attribute__ ((used)) void* __ptr_sceDepthGetImage;
asm(".intel_syntax noprefix\n"
".global sceDepthGetImage\n"
".type sceDepthGetImage @function\n"
"sceDepthGetImage:\n"
"jmp qword ptr [rip + __ptr_sceDepthGetImage]\n");
static __attribute__ ((used)) void* __ptr_sceDepthGetRectificationInformation;
asm(".intel_syntax noprefix\n"
".global sceDepthGetRectificationInformation\n"
".type sceDepthGetRectificationInformation @function\n"
"sceDepthGetRectificationInformation:\n"
"jmp qword ptr [rip + __ptr_sceDepthGetRectificationInformation]\n");
static __attribute__ ((used)) void* __ptr_sceDepthGetSrParameter;
asm(".intel_syntax noprefix\n"
".global sceDepthGetSrParameter\n"
".type sceDepthGetSrParameter @function\n"
"sceDepthGetSrParameter:\n"
"jmp qword ptr [rip + __ptr_sceDepthGetSrParameter]\n");
static __attribute__ ((used)) void* __ptr_sceDepthHandCandidateTrackerGetResult;
asm(".intel_syntax noprefix\n"
".global sceDepthHandCandidateTrackerGetResult\n"
".type sceDepthHandCandidateTrackerGetResult @function\n"
"sceDepthHandCandidateTrackerGetResult:\n"
"jmp qword ptr [rip + __ptr_sceDepthHandCandidateTrackerGetResult]\n");
static __attribute__ ((used)) void* __ptr_sceDepthHasCalibrationData;
asm(".intel_syntax noprefix\n"
".global sceDepthHasCalibrationData\n"
".type sceDepthHasCalibrationData @function\n"
"sceDepthHasCalibrationData:\n"
"jmp qword ptr [rip + __ptr_sceDepthHasCalibrationData]\n");
static __attribute__ ((used)) void* __ptr_sceDepthHeadCandidateDetectorGetResults;
asm(".intel_syntax noprefix\n"
".global sceDepthHeadCandidateDetectorGetResults\n"
".type sceDepthHeadCandidateDetectorGetResults @function\n"
"sceDepthHeadCandidateDetectorGetResults:\n"
"jmp qword ptr [rip + __ptr_sceDepthHeadCandidateDetectorGetResults]\n");
static __attribute__ ((used)) void* __ptr_sceDepthHeadCandidateTrackerGetResult;
asm(".intel_syntax noprefix\n"
".global sceDepthHeadCandidateTrackerGetResult\n"
".type sceDepthHeadCandidateTrackerGetResult @function\n"
"sceDepthHeadCandidateTrackerGetResult:\n"
"jmp qword ptr [rip + __ptr_sceDepthHeadCandidateTrackerGetResult]\n");
static __attribute__ ((used)) void* __ptr_sceDepthHeadCandidateTrackerSetValidationInformation;
asm(".intel_syntax noprefix\n"
".global sceDepthHeadCandidateTrackerSetValidationInformation\n"
".type sceDepthHeadCandidateTrackerSetValidationInformation @function\n"
"sceDepthHeadCandidateTrackerSetValidationInformation:\n"
"jmp qword ptr [rip + __ptr_sceDepthHeadCandidateTrackerSetValidationInformation]\n");
static __attribute__ ((used)) void* __ptr_sceDepthInitialize;
asm(".intel_syntax noprefix\n"
".global sceDepthInitialize\n"
".type sceDepthInitialize @function\n"
"sceDepthInitialize:\n"
"jmp qword ptr [rip + __ptr_sceDepthInitialize]\n");
static __attribute__ ((used)) void* __ptr_sceDepthLoadCalibrationData;
asm(".intel_syntax noprefix\n"
".global sceDepthLoadCalibrationData\n"
".type sceDepthLoadCalibrationData @function\n"
"sceDepthLoadCalibrationData:\n"
"jmp qword ptr [rip + __ptr_sceDepthLoadCalibrationData]\n");
static __attribute__ ((used)) void* __ptr_sceDepthQueryMemory;
asm(".intel_syntax noprefix\n"
".global sceDepthQueryMemory\n"
".type sceDepthQueryMemory @function\n"
"sceDepthQueryMemory:\n"
"jmp qword ptr [rip + __ptr_sceDepthQueryMemory]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSaveInternalBuffers;
asm(".intel_syntax noprefix\n"
".global sceDepthSaveInternalBuffers\n"
".type sceDepthSaveInternalBuffers @function\n"
"sceDepthSaveInternalBuffers:\n"
"jmp qword ptr [rip + __ptr_sceDepthSaveInternalBuffers]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetCalibrationData;
asm(".intel_syntax noprefix\n"
".global sceDepthSetCalibrationData\n"
".type sceDepthSetCalibrationData @function\n"
"sceDepthSetCalibrationData:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetCalibrationData]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetCommands;
asm(".intel_syntax noprefix\n"
".global sceDepthSetCommands\n"
".type sceDepthSetCommands @function\n"
"sceDepthSetCommands:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetCommands]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetPostFilterParameter;
asm(".intel_syntax noprefix\n"
".global sceDepthSetPostFilterParameter\n"
".type sceDepthSetPostFilterParameter @function\n"
"sceDepthSetPostFilterParameter:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetPostFilterParameter]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetPreFilterParameter;
asm(".intel_syntax noprefix\n"
".global sceDepthSetPreFilterParameter\n"
".type sceDepthSetPreFilterParameter @function\n"
"sceDepthSetPreFilterParameter:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetPreFilterParameter]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetRectificationInformation;
asm(".intel_syntax noprefix\n"
".global sceDepthSetRectificationInformation\n"
".type sceDepthSetRectificationInformation @function\n"
"sceDepthSetRectificationInformation:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetRectificationInformation]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetRoi;
asm(".intel_syntax noprefix\n"
".global sceDepthSetRoi\n"
".type sceDepthSetRoi @function\n"
"sceDepthSetRoi:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetRoi]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetRoiset;
asm(".intel_syntax noprefix\n"
".global sceDepthSetRoiset\n"
".type sceDepthSetRoiset @function\n"
"sceDepthSetRoiset:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetRoiset]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetSrParameter;
asm(".intel_syntax noprefix\n"
".global sceDepthSetSrParameter\n"
".type sceDepthSetSrParameter @function\n"
"sceDepthSetSrParameter:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetSrParameter]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSetSrTnrParameter;
asm(".intel_syntax noprefix\n"
".global sceDepthSetSrTnrParameter\n"
".type sceDepthSetSrTnrParameter @function\n"
"sceDepthSetSrTnrParameter:\n"
"jmp qword ptr [rip + __ptr_sceDepthSetSrTnrParameter]\n");
static __attribute__ ((used)) void* __ptr_sceDepthSubmit;
asm(".intel_syntax noprefix\n"
".global sceDepthSubmit\n"
".type sceDepthSubmit @function\n"
"sceDepthSubmit:\n"
"jmp qword ptr [rip + __ptr_sceDepthSubmit]\n");
static __attribute__ ((used)) void* __ptr_sceDepthTerminate;
asm(".intel_syntax noprefix\n"
".global sceDepthTerminate\n"
".type sceDepthTerminate @function\n"
"sceDepthTerminate:\n"
"jmp qword ptr [rip + __ptr_sceDepthTerminate]\n");
static __attribute__ ((used)) void* __ptr_sceDepthUpdate;
asm(".intel_syntax noprefix\n"
".global sceDepthUpdate\n"
".type sceDepthUpdate @function\n"
"sceDepthUpdate:\n"
"jmp qword ptr [rip + __ptr_sceDepthUpdate]\n");
static __attribute__ ((used)) void* __ptr_sceDepthValidateCurrentCalibrationData;
asm(".intel_syntax noprefix\n"
".global sceDepthValidateCurrentCalibrationData\n"
".type sceDepthValidateCurrentCalibrationData @function\n"
"sceDepthValidateCurrentCalibrationData:\n"
"jmp qword ptr [rip + __ptr_sceDepthValidateCurrentCalibrationData]\n");
static __attribute__ ((used)) void* __ptr_sceDepthWaitAndExecutePostProcess;
asm(".intel_syntax noprefix\n"
".global sceDepthWaitAndExecutePostProcess\n"
".type sceDepthWaitAndExecutePostProcess @function\n"
"sceDepthWaitAndExecutePostProcess:\n"
"jmp qword ptr [rip + __ptr_sceDepthWaitAndExecutePostProcess]\n");
static unsigned short __handle = 0;
static void __attribute__((constructor(104)))
__constructor(void) {
if(sprx_dlopen("libSceDepth", &__handle)) return;
if(sprx_dlsym(__handle, "khMHRfKhXyw", &__ptr__sceDepthCalcHeteroAdjustParam)) return;
if(sprx_dlsym(__handle, "y8JFcLacpm0", &__ptr__sceDepthHeadCandidateTrackerGetInformation)) return;
if(sprx_dlsym(__handle, "azCmQEmb1-I", &__ptr__sceDepthHeadCandidateTrackerSetInformation)) return;
if(sprx_dlsym(__handle, "HZ2ih547n5Y", &__ptr__sceDepthSetCameraFactoryCalibrationData)) return;
if(sprx_dlsym(__handle, "AnQ9uoI3ENY", &__ptr__sceDepthSetHeteroAdjustParam)) return;
if(sprx_dlsym(__handle, "X5F-dSXoUUw", &__ptr__sceDepthSetHeteroMode)) return;
if(sprx_dlsym(__handle, "1eDFI2b1+R4", &__ptr_sceDepthCalculateRectificationInformation)) return;
if(sprx_dlsym(__handle, "tKb1NGqDL3o", &__ptr_sceDepthDisableHeteroMode)) return;
if(sprx_dlsym(__handle, "z5ST9CIgHa0", &__ptr_sceDepthEnableExtendedMode)) return;
if(sprx_dlsym(__handle, "ApiBWk+XhTM", &__ptr_sceDepthEnableHeteroMode)) return;
if(sprx_dlsym(__handle, "LGls0LhQSGY", &__ptr_sceDepthEnableHeteroModeAndGenerateInformation)) return;
if(sprx_dlsym(__handle, "n1jfUfgvIUw", &__ptr_sceDepthGetCalibrationData)) return;
if(sprx_dlsym(__handle, "m2CDzALH31Q", &__ptr_sceDepthGetImage)) return;
if(sprx_dlsym(__handle, "L70Lnrm4gz4", &__ptr_sceDepthGetRectificationInformation)) return;
if(sprx_dlsym(__handle, "b1e8oPrUnY4", &__ptr_sceDepthGetSrParameter)) return;
if(sprx_dlsym(__handle, "ORiU0t9ZnwE", &__ptr_sceDepthHandCandidateTrackerGetResult)) return;
if(sprx_dlsym(__handle, "PXbVNuUqELQ", &__ptr_sceDepthHasCalibrationData)) return;
if(sprx_dlsym(__handle, "lAh2teRHzLU", &__ptr_sceDepthHeadCandidateDetectorGetResults)) return;
if(sprx_dlsym(__handle, "DI3yZlrLLxM", &__ptr_sceDepthHeadCandidateTrackerGetResult)) return;
if(sprx_dlsym(__handle, "9pbTND42x74", &__ptr_sceDepthHeadCandidateTrackerSetValidationInformation)) return;
if(sprx_dlsym(__handle, "Paa9dgHnHpQ", &__ptr_sceDepthInitialize)) return;
if(sprx_dlsym(__handle, "5AuWFbVvqTU", &__ptr_sceDepthLoadCalibrationData)) return;
if(sprx_dlsym(__handle, "5MwxIk3-gLo", &__ptr_sceDepthQueryMemory)) return;
if(sprx_dlsym(__handle, "ChiY6gHrMK4", &__ptr_sceDepthSaveInternalBuffers)) return;
if(sprx_dlsym(__handle, "oPhjCYX1Oeg", &__ptr_sceDepthSetCalibrationData)) return;
if(sprx_dlsym(__handle, "7+v3uWRHgQ4", &__ptr_sceDepthSetCommands)) return;
if(sprx_dlsym(__handle, "7bSiBI8KqBw", &__ptr_sceDepthSetPostFilterParameter)) return;
if(sprx_dlsym(__handle, "VZJhL9rau08", &__ptr_sceDepthSetPreFilterParameter)) return;
if(sprx_dlsym(__handle, "WXXsPHkag14", &__ptr_sceDepthSetRectificationInformation)) return;
if(sprx_dlsym(__handle, "3mjsu608hoU", &__ptr_sceDepthSetRoi)) return;
if(sprx_dlsym(__handle, "8nUMQUGz3Vs", &__ptr_sceDepthSetRoiset)) return;
if(sprx_dlsym(__handle, "hO0sxQP5n0Q", &__ptr_sceDepthSetSrParameter)) return;
if(sprx_dlsym(__handle, "zE2ws3Iyrqc", &__ptr_sceDepthSetSrTnrParameter)) return;
if(sprx_dlsym(__handle, "jLx5qd4qyjk", &__ptr_sceDepthSubmit)) return;
if(sprx_dlsym(__handle, "l+dKhCxtRHc", &__ptr_sceDepthTerminate)) return;
if(sprx_dlsym(__handle, "q0NXsQTzAI0", &__ptr_sceDepthUpdate)) return;
if(sprx_dlsym(__handle, "DdomLktL5+M", &__ptr_sceDepthValidateCurrentCalibrationData)) return;
if(sprx_dlsym(__handle, "cnnOMW6dyPI", &__ptr_sceDepthWaitAndExecutePostProcess)) return;
}
static void __attribute__((destructor(104)))
__destructor(void) {
sprx_dlclose(__handle);
}