mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-14 02:18:13 +08:00
fix
This commit is contained in:
@@ -68,10 +68,7 @@ namespace Hook {
|
||||
if (signatures.count(type)) {
|
||||
return GCHandle_GetObject<ByteArray>(signatures[type]);
|
||||
}
|
||||
auto encoder = Genshin::Encoding_GetDefault(nullptr);
|
||||
auto result = CALL_ORIGIN(UnityEngine_RecordUserData, type);
|
||||
auto str = Genshin::Encoding_GetString(encoder, result, nullptr);
|
||||
printf("RecordUserData%d: %s\n", type, IlStringToString(str).c_str());
|
||||
signatures[type] = GCHandle_New(result, true);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user