-
Notifications
You must be signed in to change notification settings - Fork 0
/
libSceAppContent.c
913 lines (798 loc) · 30.5 KB
/
libSceAppContent.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
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
/*
This file was generated by trampgen.py, do not edit manually!
*/
int sprx_dlsym(unsigned int handle, const char *symname, void *addr);
int sprx_dlopen(const char* libname, unsigned short *handle);
int sprx_dlclose(unsigned short handle);
static unsigned short __handle = 0;
static void __attribute__((constructor(102)))
__constructor(void) {
sprx_dlopen("libSceAppContent", &__handle);
}
static void __attribute__((destructor(102)))
__destructor(void) {
sprx_dlclose(__handle);
}
asm(".intel_syntax noprefix\n"
".global _Z5dummyv\n"
".type _Z5dummyv @function\n"
"_Z5dummyv:\n"
"jmp qword ptr [rip + __ptr__Z5dummyv]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call__Z5dummyv\n"
".type __load_and_call__Z5dummyv @function\n"
"__load_and_call__Z5dummyv:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load__Z5dummyv\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr__Z5dummyv]\n");
void __load_and_call__Z5dummyv();
static __attribute__ ((used)) void* __ptr__Z5dummyv = &__load_and_call__Z5dummyv;
static __attribute__ ((used)) void
__load__Z5dummyv(void) {
sprx_dlsym(__handle, "_Z5dummyv", &__ptr__Z5dummyv);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontDelete\n"
".type sceAppContentAddcontDelete @function\n"
"sceAppContentAddcontDelete:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontDelete]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontDelete\n"
".type __load_and_call_sceAppContentAddcontDelete @function\n"
"__load_and_call_sceAppContentAddcontDelete:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontDelete\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontDelete]\n");
void __load_and_call_sceAppContentAddcontDelete();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontDelete = &__load_and_call_sceAppContentAddcontDelete;
static __attribute__ ((used)) void
__load_sceAppContentAddcontDelete(void) {
sprx_dlsym(__handle, "sceAppContentAddcontDelete", &__ptr_sceAppContentAddcontDelete);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontEnqueueDownload\n"
".type sceAppContentAddcontEnqueueDownload @function\n"
"sceAppContentAddcontEnqueueDownload:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontEnqueueDownload]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontEnqueueDownload\n"
".type __load_and_call_sceAppContentAddcontEnqueueDownload @function\n"
"__load_and_call_sceAppContentAddcontEnqueueDownload:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontEnqueueDownload\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontEnqueueDownload]\n");
void __load_and_call_sceAppContentAddcontEnqueueDownload();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontEnqueueDownload = &__load_and_call_sceAppContentAddcontEnqueueDownload;
static __attribute__ ((used)) void
__load_sceAppContentAddcontEnqueueDownload(void) {
sprx_dlsym(__handle, "sceAppContentAddcontEnqueueDownload", &__ptr_sceAppContentAddcontEnqueueDownload);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontEnqueueDownloadSp\n"
".type sceAppContentAddcontEnqueueDownloadSp @function\n"
"sceAppContentAddcontEnqueueDownloadSp:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontEnqueueDownloadSp]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontEnqueueDownloadSp\n"
".type __load_and_call_sceAppContentAddcontEnqueueDownloadSp @function\n"
"__load_and_call_sceAppContentAddcontEnqueueDownloadSp:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontEnqueueDownloadSp\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontEnqueueDownloadSp]\n");
void __load_and_call_sceAppContentAddcontEnqueueDownloadSp();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontEnqueueDownloadSp = &__load_and_call_sceAppContentAddcontEnqueueDownloadSp;
static __attribute__ ((used)) void
__load_sceAppContentAddcontEnqueueDownloadSp(void) {
sprx_dlsym(__handle, "sceAppContentAddcontEnqueueDownloadSp", &__ptr_sceAppContentAddcontEnqueueDownloadSp);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontMount\n"
".type sceAppContentAddcontMount @function\n"
"sceAppContentAddcontMount:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontMount]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontMount\n"
".type __load_and_call_sceAppContentAddcontMount @function\n"
"__load_and_call_sceAppContentAddcontMount:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontMount\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontMount]\n");
void __load_and_call_sceAppContentAddcontMount();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontMount = &__load_and_call_sceAppContentAddcontMount;
static __attribute__ ((used)) void
__load_sceAppContentAddcontMount(void) {
sprx_dlsym(__handle, "sceAppContentAddcontMount", &__ptr_sceAppContentAddcontMount);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontShrink\n"
".type sceAppContentAddcontShrink @function\n"
"sceAppContentAddcontShrink:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontShrink]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontShrink\n"
".type __load_and_call_sceAppContentAddcontShrink @function\n"
"__load_and_call_sceAppContentAddcontShrink:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontShrink\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontShrink]\n");
void __load_and_call_sceAppContentAddcontShrink();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontShrink = &__load_and_call_sceAppContentAddcontShrink;
static __attribute__ ((used)) void
__load_sceAppContentAddcontShrink(void) {
sprx_dlsym(__handle, "sceAppContentAddcontShrink", &__ptr_sceAppContentAddcontShrink);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAddcontUnmount\n"
".type sceAppContentAddcontUnmount @function\n"
"sceAppContentAddcontUnmount:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontUnmount]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAddcontUnmount\n"
".type __load_and_call_sceAppContentAddcontUnmount @function\n"
"__load_and_call_sceAppContentAddcontUnmount:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAddcontUnmount\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAddcontUnmount]\n");
void __load_and_call_sceAppContentAddcontUnmount();
static __attribute__ ((used)) void* __ptr_sceAppContentAddcontUnmount = &__load_and_call_sceAppContentAddcontUnmount;
static __attribute__ ((used)) void
__load_sceAppContentAddcontUnmount(void) {
sprx_dlsym(__handle, "sceAppContentAddcontUnmount", &__ptr_sceAppContentAddcontUnmount);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAppParamGetInt\n"
".type sceAppContentAppParamGetInt @function\n"
"sceAppContentAppParamGetInt:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAppParamGetInt]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAppParamGetInt\n"
".type __load_and_call_sceAppContentAppParamGetInt @function\n"
"__load_and_call_sceAppContentAppParamGetInt:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAppParamGetInt\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAppParamGetInt]\n");
void __load_and_call_sceAppContentAppParamGetInt();
static __attribute__ ((used)) void* __ptr_sceAppContentAppParamGetInt = &__load_and_call_sceAppContentAppParamGetInt;
static __attribute__ ((used)) void
__load_sceAppContentAppParamGetInt(void) {
sprx_dlsym(__handle, "sceAppContentAppParamGetInt", &__ptr_sceAppContentAppParamGetInt);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentAppParamGetString\n"
".type sceAppContentAppParamGetString @function\n"
"sceAppContentAppParamGetString:\n"
"jmp qword ptr [rip + __ptr_sceAppContentAppParamGetString]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentAppParamGetString\n"
".type __load_and_call_sceAppContentAppParamGetString @function\n"
"__load_and_call_sceAppContentAppParamGetString:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentAppParamGetString\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentAppParamGetString]\n");
void __load_and_call_sceAppContentAppParamGetString();
static __attribute__ ((used)) void* __ptr_sceAppContentAppParamGetString = &__load_and_call_sceAppContentAppParamGetString;
static __attribute__ ((used)) void
__load_sceAppContentAppParamGetString(void) {
sprx_dlsym(__handle, "sceAppContentAppParamGetString", &__ptr_sceAppContentAppParamGetString);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownload0Expand\n"
".type sceAppContentDownload0Expand @function\n"
"sceAppContentDownload0Expand:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload0Expand]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownload0Expand\n"
".type __load_and_call_sceAppContentDownload0Expand @function\n"
"__load_and_call_sceAppContentDownload0Expand:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownload0Expand\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload0Expand]\n");
void __load_and_call_sceAppContentDownload0Expand();
static __attribute__ ((used)) void* __ptr_sceAppContentDownload0Expand = &__load_and_call_sceAppContentDownload0Expand;
static __attribute__ ((used)) void
__load_sceAppContentDownload0Expand(void) {
sprx_dlsym(__handle, "sceAppContentDownload0Expand", &__ptr_sceAppContentDownload0Expand);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownload0Shrink\n"
".type sceAppContentDownload0Shrink @function\n"
"sceAppContentDownload0Shrink:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload0Shrink]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownload0Shrink\n"
".type __load_and_call_sceAppContentDownload0Shrink @function\n"
"__load_and_call_sceAppContentDownload0Shrink:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownload0Shrink\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload0Shrink]\n");
void __load_and_call_sceAppContentDownload0Shrink();
static __attribute__ ((used)) void* __ptr_sceAppContentDownload0Shrink = &__load_and_call_sceAppContentDownload0Shrink;
static __attribute__ ((used)) void
__load_sceAppContentDownload0Shrink(void) {
sprx_dlsym(__handle, "sceAppContentDownload0Shrink", &__ptr_sceAppContentDownload0Shrink);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownload1Expand\n"
".type sceAppContentDownload1Expand @function\n"
"sceAppContentDownload1Expand:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload1Expand]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownload1Expand\n"
".type __load_and_call_sceAppContentDownload1Expand @function\n"
"__load_and_call_sceAppContentDownload1Expand:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownload1Expand\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload1Expand]\n");
void __load_and_call_sceAppContentDownload1Expand();
static __attribute__ ((used)) void* __ptr_sceAppContentDownload1Expand = &__load_and_call_sceAppContentDownload1Expand;
static __attribute__ ((used)) void
__load_sceAppContentDownload1Expand(void) {
sprx_dlsym(__handle, "sceAppContentDownload1Expand", &__ptr_sceAppContentDownload1Expand);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownload1Shrink\n"
".type sceAppContentDownload1Shrink @function\n"
"sceAppContentDownload1Shrink:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload1Shrink]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownload1Shrink\n"
".type __load_and_call_sceAppContentDownload1Shrink @function\n"
"__load_and_call_sceAppContentDownload1Shrink:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownload1Shrink\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownload1Shrink]\n");
void __load_and_call_sceAppContentDownload1Shrink();
static __attribute__ ((used)) void* __ptr_sceAppContentDownload1Shrink = &__load_and_call_sceAppContentDownload1Shrink;
static __attribute__ ((used)) void
__load_sceAppContentDownload1Shrink(void) {
sprx_dlsym(__handle, "sceAppContentDownload1Shrink", &__ptr_sceAppContentDownload1Shrink);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownloadDataFormat\n"
".type sceAppContentDownloadDataFormat @function\n"
"sceAppContentDownloadDataFormat:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownloadDataFormat]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownloadDataFormat\n"
".type __load_and_call_sceAppContentDownloadDataFormat @function\n"
"__load_and_call_sceAppContentDownloadDataFormat:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownloadDataFormat\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownloadDataFormat]\n");
void __load_and_call_sceAppContentDownloadDataFormat();
static __attribute__ ((used)) void* __ptr_sceAppContentDownloadDataFormat = &__load_and_call_sceAppContentDownloadDataFormat;
static __attribute__ ((used)) void
__load_sceAppContentDownloadDataFormat(void) {
sprx_dlsym(__handle, "sceAppContentDownloadDataFormat", &__ptr_sceAppContentDownloadDataFormat);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentDownloadDataGetAvailableSpaceKb\n"
".type sceAppContentDownloadDataGetAvailableSpaceKb @function\n"
"sceAppContentDownloadDataGetAvailableSpaceKb:\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownloadDataGetAvailableSpaceKb]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentDownloadDataGetAvailableSpaceKb\n"
".type __load_and_call_sceAppContentDownloadDataGetAvailableSpaceKb @function\n"
"__load_and_call_sceAppContentDownloadDataGetAvailableSpaceKb:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentDownloadDataGetAvailableSpaceKb\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentDownloadDataGetAvailableSpaceKb]\n");
void __load_and_call_sceAppContentDownloadDataGetAvailableSpaceKb();
static __attribute__ ((used)) void* __ptr_sceAppContentDownloadDataGetAvailableSpaceKb = &__load_and_call_sceAppContentDownloadDataGetAvailableSpaceKb;
static __attribute__ ((used)) void
__load_sceAppContentDownloadDataGetAvailableSpaceKb(void) {
sprx_dlsym(__handle, "sceAppContentDownloadDataGetAvailableSpaceKb", &__ptr_sceAppContentDownloadDataGetAvailableSpaceKb);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentGetAddcontDownloadProgress\n"
".type sceAppContentGetAddcontDownloadProgress @function\n"
"sceAppContentGetAddcontDownloadProgress:\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontDownloadProgress]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentGetAddcontDownloadProgress\n"
".type __load_and_call_sceAppContentGetAddcontDownloadProgress @function\n"
"__load_and_call_sceAppContentGetAddcontDownloadProgress:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentGetAddcontDownloadProgress\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontDownloadProgress]\n");
void __load_and_call_sceAppContentGetAddcontDownloadProgress();
static __attribute__ ((used)) void* __ptr_sceAppContentGetAddcontDownloadProgress = &__load_and_call_sceAppContentGetAddcontDownloadProgress;
static __attribute__ ((used)) void
__load_sceAppContentGetAddcontDownloadProgress(void) {
sprx_dlsym(__handle, "sceAppContentGetAddcontDownloadProgress", &__ptr_sceAppContentGetAddcontDownloadProgress);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentGetAddcontInfo\n"
".type sceAppContentGetAddcontInfo @function\n"
"sceAppContentGetAddcontInfo:\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontInfo]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentGetAddcontInfo\n"
".type __load_and_call_sceAppContentGetAddcontInfo @function\n"
"__load_and_call_sceAppContentGetAddcontInfo:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentGetAddcontInfo\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontInfo]\n");
void __load_and_call_sceAppContentGetAddcontInfo();
static __attribute__ ((used)) void* __ptr_sceAppContentGetAddcontInfo = &__load_and_call_sceAppContentGetAddcontInfo;
static __attribute__ ((used)) void
__load_sceAppContentGetAddcontInfo(void) {
sprx_dlsym(__handle, "sceAppContentGetAddcontInfo", &__ptr_sceAppContentGetAddcontInfo);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentGetAddcontInfoList\n"
".type sceAppContentGetAddcontInfoList @function\n"
"sceAppContentGetAddcontInfoList:\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontInfoList]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentGetAddcontInfoList\n"
".type __load_and_call_sceAppContentGetAddcontInfoList @function\n"
"__load_and_call_sceAppContentGetAddcontInfoList:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentGetAddcontInfoList\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetAddcontInfoList]\n");
void __load_and_call_sceAppContentGetAddcontInfoList();
static __attribute__ ((used)) void* __ptr_sceAppContentGetAddcontInfoList = &__load_and_call_sceAppContentGetAddcontInfoList;
static __attribute__ ((used)) void
__load_sceAppContentGetAddcontInfoList(void) {
sprx_dlsym(__handle, "sceAppContentGetAddcontInfoList", &__ptr_sceAppContentGetAddcontInfoList);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentGetEntitlementKey\n"
".type sceAppContentGetEntitlementKey @function\n"
"sceAppContentGetEntitlementKey:\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetEntitlementKey]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentGetEntitlementKey\n"
".type __load_and_call_sceAppContentGetEntitlementKey @function\n"
"__load_and_call_sceAppContentGetEntitlementKey:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentGetEntitlementKey\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetEntitlementKey]\n");
void __load_and_call_sceAppContentGetEntitlementKey();
static __attribute__ ((used)) void* __ptr_sceAppContentGetEntitlementKey = &__load_and_call_sceAppContentGetEntitlementKey;
static __attribute__ ((used)) void
__load_sceAppContentGetEntitlementKey(void) {
sprx_dlsym(__handle, "sceAppContentGetEntitlementKey", &__ptr_sceAppContentGetEntitlementKey);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentGetRegion\n"
".type sceAppContentGetRegion @function\n"
"sceAppContentGetRegion:\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetRegion]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentGetRegion\n"
".type __load_and_call_sceAppContentGetRegion @function\n"
"__load_and_call_sceAppContentGetRegion:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentGetRegion\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentGetRegion]\n");
void __load_and_call_sceAppContentGetRegion();
static __attribute__ ((used)) void* __ptr_sceAppContentGetRegion = &__load_and_call_sceAppContentGetRegion;
static __attribute__ ((used)) void
__load_sceAppContentGetRegion(void) {
sprx_dlsym(__handle, "sceAppContentGetRegion", &__ptr_sceAppContentGetRegion);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentInitialize\n"
".type sceAppContentInitialize @function\n"
"sceAppContentInitialize:\n"
"jmp qword ptr [rip + __ptr_sceAppContentInitialize]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentInitialize\n"
".type __load_and_call_sceAppContentInitialize @function\n"
"__load_and_call_sceAppContentInitialize:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentInitialize\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentInitialize]\n");
void __load_and_call_sceAppContentInitialize();
static __attribute__ ((used)) void* __ptr_sceAppContentInitialize = &__load_and_call_sceAppContentInitialize;
static __attribute__ ((used)) void
__load_sceAppContentInitialize(void) {
sprx_dlsym(__handle, "sceAppContentInitialize", &__ptr_sceAppContentInitialize);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentRequestPatchInstall\n"
".type sceAppContentRequestPatchInstall @function\n"
"sceAppContentRequestPatchInstall:\n"
"jmp qword ptr [rip + __ptr_sceAppContentRequestPatchInstall]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentRequestPatchInstall\n"
".type __load_and_call_sceAppContentRequestPatchInstall @function\n"
"__load_and_call_sceAppContentRequestPatchInstall:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentRequestPatchInstall\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentRequestPatchInstall]\n");
void __load_and_call_sceAppContentRequestPatchInstall();
static __attribute__ ((used)) void* __ptr_sceAppContentRequestPatchInstall = &__load_and_call_sceAppContentRequestPatchInstall;
static __attribute__ ((used)) void
__load_sceAppContentRequestPatchInstall(void) {
sprx_dlsym(__handle, "sceAppContentRequestPatchInstall", &__ptr_sceAppContentRequestPatchInstall);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentTemporaryDataFormat\n"
".type sceAppContentTemporaryDataFormat @function\n"
"sceAppContentTemporaryDataFormat:\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataFormat]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentTemporaryDataFormat\n"
".type __load_and_call_sceAppContentTemporaryDataFormat @function\n"
"__load_and_call_sceAppContentTemporaryDataFormat:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentTemporaryDataFormat\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataFormat]\n");
void __load_and_call_sceAppContentTemporaryDataFormat();
static __attribute__ ((used)) void* __ptr_sceAppContentTemporaryDataFormat = &__load_and_call_sceAppContentTemporaryDataFormat;
static __attribute__ ((used)) void
__load_sceAppContentTemporaryDataFormat(void) {
sprx_dlsym(__handle, "sceAppContentTemporaryDataFormat", &__ptr_sceAppContentTemporaryDataFormat);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentTemporaryDataGetAvailableSpaceKb\n"
".type sceAppContentTemporaryDataGetAvailableSpaceKb @function\n"
"sceAppContentTemporaryDataGetAvailableSpaceKb:\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataGetAvailableSpaceKb]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentTemporaryDataGetAvailableSpaceKb\n"
".type __load_and_call_sceAppContentTemporaryDataGetAvailableSpaceKb @function\n"
"__load_and_call_sceAppContentTemporaryDataGetAvailableSpaceKb:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentTemporaryDataGetAvailableSpaceKb\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataGetAvailableSpaceKb]\n");
void __load_and_call_sceAppContentTemporaryDataGetAvailableSpaceKb();
static __attribute__ ((used)) void* __ptr_sceAppContentTemporaryDataGetAvailableSpaceKb = &__load_and_call_sceAppContentTemporaryDataGetAvailableSpaceKb;
static __attribute__ ((used)) void
__load_sceAppContentTemporaryDataGetAvailableSpaceKb(void) {
sprx_dlsym(__handle, "sceAppContentTemporaryDataGetAvailableSpaceKb", &__ptr_sceAppContentTemporaryDataGetAvailableSpaceKb);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentTemporaryDataMount\n"
".type sceAppContentTemporaryDataMount @function\n"
"sceAppContentTemporaryDataMount:\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataMount]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentTemporaryDataMount\n"
".type __load_and_call_sceAppContentTemporaryDataMount @function\n"
"__load_and_call_sceAppContentTemporaryDataMount:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentTemporaryDataMount\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataMount]\n");
void __load_and_call_sceAppContentTemporaryDataMount();
static __attribute__ ((used)) void* __ptr_sceAppContentTemporaryDataMount = &__load_and_call_sceAppContentTemporaryDataMount;
static __attribute__ ((used)) void
__load_sceAppContentTemporaryDataMount(void) {
sprx_dlsym(__handle, "sceAppContentTemporaryDataMount", &__ptr_sceAppContentTemporaryDataMount);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentTemporaryDataMount2\n"
".type sceAppContentTemporaryDataMount2 @function\n"
"sceAppContentTemporaryDataMount2:\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataMount2]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentTemporaryDataMount2\n"
".type __load_and_call_sceAppContentTemporaryDataMount2 @function\n"
"__load_and_call_sceAppContentTemporaryDataMount2:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentTemporaryDataMount2\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataMount2]\n");
void __load_and_call_sceAppContentTemporaryDataMount2();
static __attribute__ ((used)) void* __ptr_sceAppContentTemporaryDataMount2 = &__load_and_call_sceAppContentTemporaryDataMount2;
static __attribute__ ((used)) void
__load_sceAppContentTemporaryDataMount2(void) {
sprx_dlsym(__handle, "sceAppContentTemporaryDataMount2", &__ptr_sceAppContentTemporaryDataMount2);
}
asm(".intel_syntax noprefix\n"
".global sceAppContentTemporaryDataUnmount\n"
".type sceAppContentTemporaryDataUnmount @function\n"
"sceAppContentTemporaryDataUnmount:\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataUnmount]\n");
asm(".intel_syntax noprefix\n"
".local __load_and_call_sceAppContentTemporaryDataUnmount\n"
".type __load_and_call_sceAppContentTemporaryDataUnmount @function\n"
"__load_and_call_sceAppContentTemporaryDataUnmount:\n"
"push rdi\n"
"push rsi\n"
"push rdx\n"
"push rcx\n"
"push r8\n"
"push r9\n"
"call __load_sceAppContentTemporaryDataUnmount\n"
"pop r9\n"
"pop r8\n"
"pop rcx\n"
"pop rdx\n"
"pop rsi\n"
"pop rdi\n"
"jmp qword ptr [rip + __ptr_sceAppContentTemporaryDataUnmount]\n");
void __load_and_call_sceAppContentTemporaryDataUnmount();
static __attribute__ ((used)) void* __ptr_sceAppContentTemporaryDataUnmount = &__load_and_call_sceAppContentTemporaryDataUnmount;
static __attribute__ ((used)) void
__load_sceAppContentTemporaryDataUnmount(void) {
sprx_dlsym(__handle, "sceAppContentTemporaryDataUnmount", &__ptr_sceAppContentTemporaryDataUnmount);
}