mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-08 14:41:30 -07:00
Initial RecNetPlugin
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user