beatsaber-hook
beatsaber-hook copied to clipboard
poc for oculus quest beatsaber function hooking (il2cpp)
- Adds concepts to work with cordl - Fixes xref and api usage - some misc fixes for Wrapper types
Unity Version: 2021.3.16f1 (4016570cf34f) In this version [2021.3.16f1](https://github.com/nneonneo/Il2CppVersions/blob/master/headers/2021.3.16f1.h#L1021), struct `Il2CppDefaults` dosen't have `mono_method_class` property, so I can't get `mono_method_class` in file [`typedefs.h`](https://github.com/sc2ad/beatsaber-hook/blob/master/shared/utils/typedefs.h#L364) here is the relevant code: ```cpp DEFINE_IL2CPP_DEFAULT_TYPE(Il2CppReflectionMethod*, mono_method);...
Use `paperlog` Switches all format specifiers to `fmt` syntax Adds format wrappers for `StringW`, `MethodInfo`, `ParameterInfo`, `FieldInfo`, `SafePtr`, `SafePtrUnity` Todo: - [x] ArrayW - [x] Il2CppObject
Hook installs should have the methodinfo* parameter. Ideally we have a scenario such that for hooks that do not have a methodinfo*, (match or find hooks specifically) we can implicitly...
https://discord.com/channels/441805394323439646/583108561396170837/959534636277575720
So because we just introduced the concept of wrapper hook types, it has become increasingly obvious that we can actually abstract this out further. We should consider making/moving hook installations...