remove ContentProvider experimental hook
This commit is contained in:
parent
b98978f01a
commit
5605aeeab1
|
|
@ -1,15 +0,0 @@
|
|||
#include "pch.h"
|
||||
|
||||
#include "Util.h"
|
||||
#include "Hooks/ContentProvider.h"
|
||||
|
||||
ContentProvider__findLocalFile_t ContentProvider__findLocalFile = (ContentProvider__findLocalFile_t)ADDRESS_CONTENTPROVIDER__FINDLOCALFILE;
|
||||
|
||||
int __fastcall ContentProvider__findLocalFile_hook(void* _this, void*, const std::string& url, std::string* filename)
|
||||
{
|
||||
printf("url: %d\n", url.length());
|
||||
|
||||
ContentProvider__findLocalFile(_this, url, filename);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "Classes.h"
|
||||
|
||||
// const auto ContentProvider__findLocalFile = (bool(__cdecl*)(const char* url))ADDRESS_CONTENTPROVIDER__ISURL;
|
||||
|
||||
typedef bool(__thiscall* ContentProvider__findLocalFile_t)(void* _this, const std::string& url, std::string* filename);
|
||||
int __fastcall ContentProvider__findLocalFile_hook(void* _this, void*, const std::string& url, std::string* filename);
|
||||
|
||||
extern ContentProvider__findLocalFile_t ContentProvider__findLocalFile;
|
||||
Loading…
Reference in New Issue