Jump to content
  • 0

I can't figure out how to script il2cpp editing.


Fk21

Question

6 answers to this question

Recommended Posts

29 minutes ago, AKidWithMidgetFriend said:

흠 이게 도움이 될까요?

 
 

그렇지 않고 포인터라면 기본 주소 + 포인터가 16진수로 표시됩니까?

 

local t = {}
 t = gg.getRangesList("libnative-lib.so")
local newval = t[1].start + 0x21E1B8
gg.getValues(newval)
local newval = t[1].start + 0x68
gg.getValues(newval)
local newval = t[1].start + 0x108
gg.getValues(newval)
local newval = t[1].start + 0x17C
gg.getValues(newval)

hmm Is this code correct

Link to comment
Share on other sites

3 minutes ago, Fk21 said:

hmm Is this code correct

The idea is correct, but implementation needs to be fixed for argument that is passed to getValues function to match the description from the documentation:

Quote

The table as a list of tables with address and flags fields (one of the constants TYPE_*).

Refer to the following post for an example of correct implementation: 

How to edit the pointer script (#6m08ph3)

 

Link to comment
Share on other sites

13분 전 CmP는 다음과 같이 말했습니다.

는 정확하지만 아이디어  문서의 설명과 일치 여부 하도록 에 getValues 함수에 전달되는 인수에 대해 구현을 수정해야 우리합니다  .

구현의 예는 다음 게시물을 참조하십시오. 

포인터를 편집하는 방법(#6m08ph3)

 

I got these codes

local ranges = gg.getRangesList("libnative-lib.so")
local libStart = ranges[1].start
local value = {{address = libStart + 0x21E1B8, flags = gg.TYPE_DWORD}}
value = gg.getValues(value)
value[1].address = value[1].value + 0x68
value = gg.getValues(value)
value[1].address = value[1].value + 0x108
value = gg.getValues(value)
value[1].address = value[1].value + 0x17C
value = gg.getValues(value)
print("Target value resides at address " .. string.format("%08X", value[1].address):sub(-8) ..
      " and it's current value is " .. value[1].value)

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.