Move libPS4
[ps4-sdk.git] / libPS4 / include / memory.h
blobca14c907e367a80c160f88bd1406903464c482f1
1 #pragma once
3 struct memoryRegionInfo {
4 void *base; // 0x0
5 void *end; // 0x8
6 unsigned int flags; // 0x16
7 };
9 struct otherMemoryRegionInfo {
10 void *base; // 0x0
11 void *end; // 0x8
12 char unknown[0xa]; // 0x16
13 char name[32]; // 0x20
16 int getMemoryInfo(void *address, struct memoryRegionInfo *destination);
17 int getOtherMemoryInfo(void *address, int nextMatchIfUnmapped, struct otherMemoryRegionInfo *destination);