mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 07:44:02 +08:00
fix
This commit is contained in:
parent
eed557375f
commit
5f2f2e55f7
@ -114,7 +114,7 @@ namespace il2cpp_symbols
|
|||||||
maybes.push_back(klass);
|
maybes.push_back(klass);
|
||||||
if(il2cpp_class_get_namespace){
|
if(il2cpp_class_get_namespace){
|
||||||
auto namespacename=il2cpp_class_get_namespace(klass);
|
auto namespacename=il2cpp_class_get_namespace(klass);
|
||||||
if(strcmp(namespacename,namespaze)==0){
|
if(strlen(namespaze)&&(strcmp(namespacename,namespaze)==0)){
|
||||||
return {klass};
|
return {klass};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -512,7 +512,7 @@ std::vector<MonoClass*> mono_findklassby_class(std::vector<MonoImage*>& images,c
|
|||||||
maybes.push_back(klass);
|
maybes.push_back(klass);
|
||||||
if(mono_class_get_namespace){
|
if(mono_class_get_namespace){
|
||||||
auto namespacename=mono_class_get_namespace(klass);
|
auto namespacename=mono_class_get_namespace(klass);
|
||||||
if(strcmp(namespacename,_namespace)==0){
|
if(strlen(_namespace)&&(strcmp(namespacename,_namespace)==0)){
|
||||||
return {klass};
|
return {klass};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user