This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! Hook Void List

imls01245

Platinian
In Boards struct
C#:
public struct Boards {
    // Token: 0x040006C4 RID: 1732
    [Token(Token = "0x4000669")]
    [FieldOffset(Offset = "0x0")]
    public string description;

    // Token: 0x040006C5 RID: 1733
    [Token(Token = "0x400066A")]
    [FieldOffset(Offset = "0x4")]
    public string boardTex;

    // Token: 0x040006C6 RID: 1734
    [Token(Token = "0x400066B")]
    [FieldOffset(Offset = "0x8")]
    public int coinCost;

    // Token: 0x040006C7 RID: 1735
    [Token(Token = "0x400066C")]
    [FieldOffset(Offset = "0xC")]
    public int sodaCost;

    // Token: 0x040006C8 RID: 1736
    [Token(Token = "0x400066D")]
    [FieldOffset(Offset = "0x10")]
    public bool isAvailableToPlayers;

    // Token: 0x040006C9 RID: 1737
    [Token(Token = "0x400066E")]
    [FieldOffset(Offset = "0x14")]
    public PerkType perkType;

    // Token: 0x040006CA RID: 1738
    [Token(Token = "0x400066F")]
    [FieldOffset(Offset = "0x18")]
    public float perkAmount;
}

is used by Skater class:

C#:
[Address(RVA = "0x411D7C", Offset = "0x411D7C", VA = "0x411D7C")]
private void SetBoard(Boards board) { }

and MeMenuGui class:
C#:
[Address(RVA = "0x209D98", Offset = "0x209D98", VA = "0x209D98")]
private void SetBoard(Boards board) { }


The Skater Class and MenuMenu class have Update Function and the Question is how to access the fields from Board struct? or how to access the list of boards in CasMenuGUI

C#:
[FieldOffset(Offset = "0x54")]
public Boards[] boards;
 
It's working fine for some field offsets like ammo, but not working at all for others such as money. I tested the int money field offset with game guardian and it works fine
// RVA: 0x10B0510 Offset: 0x10B0510 VA: 0x10B0510
public static object CreateInstance(Type type, object[] args) { }

How can I set the args here?
 
void set_renderQueue(void* mat, int value) {

static const auto fnz = reinterpret_cast<uint32_t(*)(void*, int)>(getAbsoluteAddress("libil2cpp.so", 0x154DF34));//UnityEngine.CoreModule
fnz(mat, value);

}

void *GetComponent(void *player,void* type) {
if (!player) return NULL;
static const auto getComponent = reinterpret_cast<uint32_t(*)(void *,void*)>(getAbsoluteAddress("libil2cpp.so", 0x15657D0));
return (void *) getComponent(player,type);
}



void *GetType(monoString* type)
{
static const auto fn = reinterpret_cast<uint32_t(*)(monoString*)>(getAbsoluteAddress("libil2cpp.so", 0x109E250));//UnityEngine.CoreModule

return (void *) fn(type);
}


void* Renderer_GetMaterial(void* obj)
{
static const auto fn = reinterpret_cast<uint32_t(*)(void *)>(getAbsoluteAddress("libil2cpp.so", 0x154C2C0));
return (void *) fn(obj);
}
set_renderQueue(Renderer_GetMaterial(GetComponent(player,GetType(CreateMonoString("Renderer")))),3000);

What's wrong here?
 
void set_renderQueue(void* mat, int value) {

static const auto fnz = reinterpret_cast<uint32_t(*)(void*, int)>(getAbsoluteAddress("libil2cpp.so", 0x154DF34));//UnityEngine.CoreModule
fnz(mat, value);

}

void *GetComponent(void *player,void* type) {
if (!player) return NULL;
static const auto getComponent = reinterpret_cast<uint32_t(*)(void *,void*)>(getAbsoluteAddress("libil2cpp.so", 0x15657D0));
return (void *) getComponent(player,type);
}



void *GetType(monoString* type)
{
static const auto fn = reinterpret_cast<uint32_t(*)(monoString*)>(getAbsoluteAddress("libil2cpp.so", 0x109E250));//UnityEngine.CoreModule

return (void *) fn(type);
}


void* Renderer_GetMaterial(void* obj)
{
static const auto fn = reinterpret_cast<uint32_t(*)(void *)>(getAbsoluteAddress("libil2cpp.so", 0x154C2C0));
return (void *) fn(obj);
}
set_renderQueue(Renderer_GetMaterial(GetComponent(player,GetType(CreateMonoString("Renderer")))),3000);

What's wrong here?
 
Giúp đỡ!!
tôi đã cố gắng hiểu và chỉnh sửa tập lệnh của mình nhiều lần nhưng vẫn báo lỗi khi chạy "lỗi sử dụng định nghĩa báo cáo chưa được khai báo 'CreatString'"
tôi sử dụng AIDE
 
Hello brother, can you please upload the lgl mod menu 2.9 you used? I would really appreciate it. I always get CreateMonoString errors the 3.2 version I'm using. If it's convenient, please upload it and I would be very grateful to you.