You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
401 B
16 lines
401 B
#pragma once
|
|
#include <il2cpp/il2cpp.h>
|
|
|
|
class chunk {
|
|
public:
|
|
template <typename T = std::uint32_t> T &id() {
|
|
return *(T *)((std::uintptr_t)this + 0x8);
|
|
}
|
|
template <typename T = std::int64_t> T &size() {
|
|
return *(T *)((std::uintptr_t)this + 0x10);
|
|
}
|
|
template <typename T = std::int64_t> T &offset() {
|
|
return *(T *)((std::uintptr_t)this + 0x18);
|
|
}
|
|
};
|