コード例 #1
0
 private void Start()
 {
     byte[] ff = { 0x55, 0x48, 0x8b, 0xec, 0x56, 0x48, 0x83, 0xec, 0x08, 0x48, 0x8b, 0xf1 };
     f = new DumbHook(typeof(PlayerWalkMovement), "Movement_Walking", typeof(ff), "Movement_Walking", typeof(ff), "Movement_WalkingTrampoline", ff);
     f.Hook();
     byte[] yeahhh1111111 = { 0x55, 0x48, 0x8b, 0xec, 0x56, 0x57, 0x41, 0x56, 0x48, 0x83, 0xec, 0x08 };
     boredasf1111111 = new DumbHook(typeof(GameTrace), "TraceAll", typeof(ff), "TraceAll", typeof(ff), "TraceAllTrampoline", yeahhh1111111);
     boredasf1111111.Hook();
     byte[] yeahhh11111111 = { 0x55, 0x48, 0x8b, 0xec, 0x56, 0x57, 0x41, 0x56, 0x48, 0x83, 0xec, 0x08 };
     boredasf11111111 = new DumbHook(typeof(ItemIcon), "OnPointerEnter", typeof(ff), "OnPointerEnter", typeof(ff), "OnPointerEnterTrampoline", yeahhh11111111);
     boredasf11111111.Hook();
 }
コード例 #2
0
 private void Start()
 {
     byte[] nop1er = { 0x55, 0x48, 0x8b, 0xec, 0x56, 0x57, 0x41, 0x56, 0x48, 0x83, 0xec, 0x08 };
     boredaaaasf1 = new DumbHook(typeof(CameraMan), "DoControls", typeof(gavno), "DoControls", typeof(gavno), "DoControlsTrampoline", nop1er);
     boredaaaasf1.Hook();
 }
コード例 #3
0
 private void Start()
 {
     byte[] nop1er = { 0x55, 0x48, 0x8b, 0xec, 0x56, 0x57, 0x41, 0x56, 0x48, 0x83, 0xec, 0x08 };
     boredaaaasf1 = new DumbHook(typeof(PlayerEyes), "UpdateCamera", typeof(ccc), "UpdateCamera", typeof(ccc), "UpdateCameraTrampoline", nop1er);
     boredaaaasf1.Hook();
 }