Rishz745
Platinian
Hey there friends! this is first time I'm seeking for help on this forum.
I wanted to hook a function in such a way, so that my beyblade technique will charge instantly, and here's is the function of it.
// RVA: 0x2CFEAD4 Offset: 0x2CFEAD4 VA: 0x2CFEAD4
public void Charge(TileColor chargeColor, int amount) { }
As you guys can see here in curly brackets there's something mentioned like TileColor, ChargeColor, int amount so here's this tile color which I want to charge instantly
public enum TileColor // TypeDefIndex: 1903
{
// Fields
public int value__; // 0x0
public const TileColor purple = 4;
}
The purple one and it's value is 4 and for charge color here
public enum TileTags // TypeDefIndex: 1904
{
// Fields
public int value__; // 0x0
public const TileTags purpleCharge = 132;
}
And it's value is 132 and remaining int amount if I make int amount to 0 then it will get charged instantly, so anyone can help me with hooking for it? @libModz I hope you will help me, if you're watching this thread!!
I wanted to hook a function in such a way, so that my beyblade technique will charge instantly, and here's is the function of it.
// RVA: 0x2CFEAD4 Offset: 0x2CFEAD4 VA: 0x2CFEAD4
public void Charge(TileColor chargeColor, int amount) { }
As you guys can see here in curly brackets there's something mentioned like TileColor, ChargeColor, int amount so here's this tile color which I want to charge instantly
public enum TileColor // TypeDefIndex: 1903
{
// Fields
public int value__; // 0x0
public const TileColor purple = 4;
}
The purple one and it's value is 4 and for charge color here
public enum TileTags // TypeDefIndex: 1904
{
// Fields
public int value__; // 0x0
public const TileTags purpleCharge = 132;
}
And it's value is 132 and remaining int amount if I make int amount to 0 then it will get charged instantly, so anyone can help me with hooking for it? @libModz I hope you will help me, if you're watching this thread!!