Jump to content
  • -2

How can i use offsets from mono games?


Pivo58
 Share

Question

How can i use offsets from mono games? Which lib do i need to target? Which value type i need to edit?

 

// Token: 0x17000352 RID: 850
		// (get) Token: 0x06001DAA RID: 7594 RVA: 0x000A1D04 File Offset: 0x0009FF04
		public short RestAmmoAmount
		{
			[CompilerGenerated]
			get
			{
				return this._restAmmoAmount;
			}
		}

image.png

 

Edited by Pivo58
duplicated images
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

what @AMIYA suggested is the correct way for your case , offset method doens't work for CompilerGenerated methods.
incase of other methods you need to find what's the lib that use the dll you've opend  then apply the offest of it's base address

Link to comment
Share on other sites

  • 0
10 hours ago, Pivo58 said:

How can i use offsets from mono games? Which lib do i need to target? Which value type i need to edit?

 

// Token: 0x17000352 RID: 850
		// (get) Token: 0x06001DAA RID: 7594 RVA: 0x000A1D04 File Offset: 0x0009FF04
		public short RestAmmoAmount
		{
			[CompilerGenerated]
			get
			{
				return this._restAmmoAmount;
			}
		}

image.png

 

Does the game has il2cpp lib?

Link to comment
Share on other sites

  • 0
18 hours ago, Pivo58 said:

How can i use offsets from mono games? Which lib do i need to target? Which value type i need to edit?

 

// Token: 0x17000352 RID: 850
		// (get) Token: 0x06001DAA RID: 7594 RVA: 0x000A1D04 File Offset: 0x0009FF04
		public short RestAmmoAmount
		{
			[CompilerGenerated]
			get
			{
				return this._restAmmoAmount;
			}
		}

image.png

 

What lib you dump ?

Example if you dump lib 

liba.so 

Target lib liba.so + offset

Link to comment
Share on other sites

  • 0
5 hours ago, XEKEX said:

what @AMIYA suggested is the correct way for your case , offset method doens't work for CompilerGenerated methods.
incase of other methods you need to find what's the lib that use the dll you've opend  then apply the offest of it's base address

That have dll no need to decompile oe dump 

So just edit and put change original

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.