Changes

Jump to navigation Jump to search
2,054 bytes added ,  09:15, 20 November 2021
no edit summary
Line 1: Line 1:  +
Much of this page is wrong because much of the PAF is written in C++.
 +
 +
But it works as a "function".
 +
 
== Module ==
 
== Module ==
   Line 50: Line 54:  
char unk[0x54];
 
char unk[0x54];
 
} ScePafSha1Context;
 
} ScePafSha1Context;
 +
 +
typedef struct ScePafDateTime {
 +
  SceDateTime data;
 +
  int data_0x10;
 +
  int data_0x14;
 +
} ScePafDateTime;
 +
 +
typedef struct ScePafHeapContext { // size is 0x60
 +
void *vtable;
 +
void *heap;
 +
void *membase;
 +
SceSize size;
 +
char name[0x20];
 +
SceBool is_import_membase;
 +
char data_0x30[3];
 +
int data_0x34;
 +
SceKernelLwMutexWork lw_mtx;
 +
SceUID memblk_id;
 +
int data_0x5C;              // ex:1
 +
} ScePafHeapContext;
 +
 +
typedef struct ScePafHeapOpt { // size is 0x14
 +
int a1;
 +
int a2;
 +
char a3[4];
 +
int a4;
 +
int a5;
 +
} ScePafHeapOpt;
 
</source>
 
</source>
    
== ScePafMisc ==
 
== ScePafMisc ==
 +
 +
=== scePafGetCurrentClockLocalTime ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x96345146
 +
|}
 +
 +
<source lang="C">int scePafGetCurrentClockLocalTime(ScePafDateTime *data);</source>
 +
 +
=== scePafCreateHeap ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xA2B0BF4D
 +
|}
 +
 +
<source lang="C">void scePafCreateHeap(ScePafHeapContext *context, void *membase, SceSize size, const char *name, ScePafHeapOpt *opt);</source>
 +
 +
=== scePafDeleteHeap ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x25238A3A
 +
|}
 +
 +
<source lang="C">void scePafDeleteHeap(ScePafHeapContext *context);</source>
 +
 +
=== scePafMallocWithContext ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x89A1CE78
 +
|}
 +
 +
<source lang="C">void *scePafMallocWithContext(ScePafHeapContext *context, SceSize len);</source>
 +
 +
=== scePafFreeWithContext ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xCE97B579
 +
|}
 +
 +
<source lang="C">void scePafFreeWithContext(ScePafHeapContext *context, void *ptr);</source>
 +
 +
=== scePafMallocAlignWithContext ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x04716F15
 +
|}
 +
 +
<source lang="C">void *scePafMallocAlignWithContext(ScePafHeapContext *context, SceUInt32 align, SceSize len);</source>
 +
 +
=== scePafReallocWithContext ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x74DB7F5D
 +
|}
 +
 +
<source lang="C">void *scePafReallocWithContext(ScePafHeapContext *context, void *ptr, SceSize len);</source>
    
=== scePafSha1Init ===
 
=== scePafSha1Init ===
Line 332: Line 434:  
|}
 
|}
   −
temp wrong name is scePafWidgetAddWidget
+
Temp name was scePafWidgetAddWidget.
    
<source lang="C">
 
<source lang="C">
Line 410: Line 512:  
<source lang="C">void scePafWidgetHideBusyIndicator(void *pWidget);</source>
 
<source lang="C">void scePafWidgetHideBusyIndicator(void *pWidget);</source>
   −
[[Category:Modules]]
+
[[Category:Modules]][[Category:Usermode]]
[[Category:Userland]]
 

Navigation menu