mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
nirai: we can delete this too?
This commit is contained in:
parent
824fdc2867
commit
bde13775cb
1 changed files with 3 additions and 1 deletions
|
@ -136,6 +136,8 @@ int niraicall_onLoadGameData()
|
||||||
memset(&fzns[num_modules], 0, sizeof(_frozen));
|
memset(&fzns[num_modules], 0, sizeof(_frozen));
|
||||||
PyImport_FrozenModules = fzns;
|
PyImport_FrozenModules = fzns;
|
||||||
|
|
||||||
|
delete[] &fzns;
|
||||||
|
|
||||||
// libpandadna
|
// libpandadna
|
||||||
init_libpandadna();
|
init_libpandadna();
|
||||||
initlibpandadna();
|
initlibpandadna();
|
||||||
|
@ -147,7 +149,7 @@ extern "C" PyObject* niraicall_deobfuscate(char* code, Py_ssize_t size)
|
||||||
{
|
{
|
||||||
std::string codestr(code, size);
|
std::string codestr(code, size);
|
||||||
|
|
||||||
char key[12] = {'B', 'A', 'Q', 'J', 'R', 'P', 'Z', 'P', 'A', 'H', 'U', 'T'};
|
const char key[12] = {'B', 'A', 'Q', 'J', 'R', 'P', 'Z', 'P', 'A', 'H', 'U', 'T'};
|
||||||
std::string output = codestr;
|
std::string output = codestr;
|
||||||
|
|
||||||
for (int i = 0; i < codestr.size(); i++)
|
for (int i = 0; i < codestr.size(); i++)
|
||||||
|
|
Loading…
Reference in a new issue