Thursday, 27 May 2021

How to mod Struct member ?

Hi, Can you help me ? I want to know how to hook a struct and edit it's member (height,slope,offset) The code below show the method return struct type and it's member. public GameCamera.ZoomParams CameraZoomParams { [Token(Token = "0x6001120")] [Address(RVA = "0xBA6058", Offset = "0xBA6058", VA = "0xBA6058")] get { return default(GameCamera.ZoomParams); } } public struct ZoomParams { // Token: 0x04000F56 RID: 3926 [Token(Token = "0x400464A")] [Il2CppDummyDll.FieldOffset(Offset = "0x0")] public bool enabled; // Token: 0x04000F57 RID: 3927 [Token(Token = "0x400464B")] [Il2CppDummyDll.FieldOffset(Offset = "0x4")] public float heigth; // Token: 0x04000F58 RID: 3928 [Token(Token = "0x400464C")] [Il2CppDummyDll.FieldOffset(Offset = "0x8")] public float offset; // Token: 0x04000F59 RID: 3929 [Token(Token = "0x400464D")] [Il2CppDummyDll.FieldOffset(Offset = "0xC")] public float slope; }

from iOSGods RSS Feed https://ift.tt/2TpOfIE

No comments:

Post a Comment