Hey, first of all thank you for the library it is really good and easy to expand for your needs. Hoewer i am having an issue and i am not sure if it related to library or i am missing something, So i am trying to get the value from a Field of the game i am working on.
Here is the field i want to get, it is a member of ActorModel class (dnspy view)

Here is how i am trying to retreive it on my proyect:
int GetHp()
{
if (!MemoryMgr::IsValidPtr(this))
return 0;
auto m_pFieldOffset = IL2CPP::Class::Utils::GetFieldOffset(xorstr_("ActorModel"), xorstr_("get_Hp"));
printf("Hp Offset %i || ptr %p\r\n", *reinterpret_cast<int8_t*>(reinterpret_cast<uintptr_t>(this + m_pFieldOffset), reinterpret_cast<uintptr_t>(this) + m_pFieldOffset);
return *reinterpret_cast<int8_t*>(this + m_pFieldOffset);
}
int GetHpMax()
{
if (!MemoryMgr::IsValidPtr(this))
return 0;
auto m_pFieldOffset = IL2CPP::Class::Utils::GetFieldOffset(xorstr_("ActorModel"), xorstr_("get_HpMax"));
printf("Hp Offset %i || ptr %p\r\n", *reinterpret_cast<int8_t*>(reinterpret_cast<uintptr_t>(this + m_pFieldOffset), reinterpret_cast<uintptr_t>(this) + m_pFieldOffset);
return *reinterpret_cast<int8_t*>(this + m_pFieldOffset);
}
Once i call it from any ActorModel it dones't make any exception, it just give me an invalid value like this:

Any help is appreciated, thank you!