mirror of
https://github.com/xhacker-zzz/KgmWasm.git
synced 2024-01-30 00:16:29 +00:00
21 lines
404 B
C++
21 lines
404 B
C++
|
// KgmWasm.cpp : Defines the entry point for the application.
|
|||
|
//
|
|||
|
|
|||
|
#include "KgmWasm.h"
|
|||
|
|
|||
|
#include "kgm.hpp"
|
|||
|
|
|||
|
#include <stddef.h>
|
|||
|
#include <string.h>
|
|||
|
|
|||
|
size_t preDec(uintptr_t blob, size_t blobSize, std::string ext)
|
|||
|
{
|
|||
|
return PreDec((uint8_t*)blob, blobSize, ext == "vpr");
|
|||
|
}
|
|||
|
|
|||
|
void decBlob(uintptr_t blob, size_t blobSize, size_t offset)
|
|||
|
{
|
|||
|
Decrypt((uint8_t*)blob, blobSize, offset);
|
|||
|
return;
|
|||
|
}
|