Nikolay Kuznetsov

Results 9 issues of Nikolay Kuznetsov

Currently, Unhollower uses `il2cpp_runtime_invoke`, which boxes returned values if they have value types. This boxing happens in the invoker function, so a simple replacement for runtime_invoke seems non-viable - instead,...

enhancement
performance
assembly-generation

`il2cpp_format_stack_trace` practically always returns an empty string. Using the `trace_ips` field of Exception class, or calling the `GetStackTrace` method might provide better results.

bug
runtime

Unit tests are incredibly valuable when performing refactorings, rewrites, and even general development. Things to cover: * Assembly generation * [ ] Various OS/Architecture combinations (current targets would be x86/x64/ARM;...

enhancement

I have no idea why this would be useful, but some reflection-based libraries might make use of this. Events might be a bit tricky due to generated delegate types being...

enhancement
class-injection

I have no idea why this would be useful, but some reflection-based libraries might make use of this. Properties, being a pair of get/set methods, should be relatively straightforward to...

enhancement
class-injection

Right now injected classes have no (extra) fields. This is largely due to the fact that field storage is allocated in the managed-side object, with the il2cpp side object only...

enhancement
class-injection

Right now, when patching game code, the patch typically can catch exceptions (via runtime_invoke) but can't re-throw them. This is unwelcome in some cases, as execution of patch caller can...

enhancement
runtime

Being able to add new Unity event methods (such as Awake/LateUpdate/Update) to existing classes might be handy in some cases, and this seems to be possible based on how IL2CPP...

enhancement
class-injection

Last time I checked, netcore/netfw runtimes refused to load generated assemblies. One specific issues was enum types having the `Il2CppType` static field. After the field is removed in one of...

bug
assembly-generation