The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Memz create"
Posixninja (talk | contribs) (New page: ==Decompilation== #define kMemzImageContainer 0x4D656D7A MemzDescriptor* memz_create(unsigned char* address, unsigned int size, unsigned int flags) { MemzDescriptor* memz ...) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:memz_create}} |
||
==Decompilation== |
==Decompilation== |
||
#define kMemzImageContainer 0x4D656D7A |
#define kMemzImageContainer 0x4D656D7A |
Latest revision as of 05:25, 19 May 2015
Decompilation
#define kMemzImageContainer 0x4D656D7A MemzDescriptor* memz_create(unsigned char* address, unsigned int size, unsigned int flags) { MemzDescriptor* memz = (MemzDescriptor*) malloc(sizeof(MemzDescriptor)); if(memz != NULL) { memz->fileSize = size; memz->imageSize = size; memz->type = kMemzImageContainer; memz->flags = flags; memz->address = address; } return memz; }