Fk21 Posted August 20, 2021 Share Posted August 20, 2021 Can I edit il2cpp with lua scripts? libnative-lib.so + 0x21E1B8 0x68 0x108 0x17C this is my result Link to comment Share on other sites More sharing options...
Lover1500 Posted August 20, 2021 Share Posted August 20, 2021 it seems like pointers than just lib value. Link to comment Share on other sites More sharing options...
Fk21 Posted August 20, 2021 Author Share Posted August 20, 2021 I've looked in various places, but I can't find the knowledge. Link to comment Share on other sites More sharing options...
AKidWithMidgetFriend Posted August 20, 2021 Share Posted August 20, 2021 Hmmmm perhaps this may help? local t = {} t = gg.getRangesList('LIB.SOnameHere') local newval = t[1].start + 17C --no zero x not necessary gg.getValues(newval) If not and if they are pointers then maybe base address + pointer as hex? Link to comment Share on other sites More sharing options...
Fk21 Posted August 20, 2021 Author Share Posted August 20, 2021 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 More sharing options...
CmP Posted August 20, 2021 Share Posted August 20, 2021 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 More sharing options...
Fk21 Posted August 20, 2021 Author Share Posted August 20, 2021 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 More sharing options...
Question
Fk21
Can I edit il2cpp with lua scripts?
libnative-lib.so + 0x21E1B8 0x68 0x108 0x17C
this is my result
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.