Initial RecNetPlugin

This commit is contained in:
Lapis
2026-04-01 09:19:01 -04:00
committed by Devin Zuczek
parent 6c9f4499e4
commit b29da5b5f0
15 changed files with 1440 additions and 517 deletions
+19
View File
@@ -0,0 +1,19 @@
using HarmonyLib;
namespace RecNetPlugin.Patches;
/**
* This allows the global-metadata.dat to be different on the client
* patched to allow a different modulus so we can sign images.
*/
[HarmonyPatch(typeof(JAPJPGNBMNM), "JOKECJKBJGD")]
public static class PromisePatch
{
public static bool Prefix(out HPHDJAFFHCN<JAPJPGNBMNM.AOFCCEACNNA> __result)
{
var result = JAPJPGNBMNM.AOFCCEACNNA.JGIHNLEFJEL();
var promise = HAAHJPGNIMD.NMOOLKAJDOC(result);
__result = promise;
return false;
}
}