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.

1361 lines
62 KiB

#pragma once
#include <il2cpp/il2cpp.h>
namespace unityengine {
class androidjni {
public:
template <typename T = std::int32_t> static T attachcurrentthread() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D73B0))(0);
}
template <typename T = std::int32_t> static T detachcurrentthread() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D7440))(0);
}
template <typename T = std::int32_t> static T getversion() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D74D0))(0);
}
template <typename T = std::uintptr_t>
static T findclass(il2cpp_string *_name) {
return ((T(*)(void *, il2cpp_string *))(il2cpp::il2cpp_base() +
0x51D7560))(0, _name);
}
template <typename T = void>
static T internal_call_findclass(il2cpp_string *_name,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_string *, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D7588))(0, _name, _value);
}
template <typename T = std::uintptr_t>
static T fromreflectedmethod(std::uintptr_t _refmethod) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D7628))(0, _refmethod);
}
template <typename T = void>
static T internal_call_fromreflectedmethod(std::uintptr_t _refmethod,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D7650))(0, _refmethod, _value);
}
template <typename T = std::uintptr_t>
static T fromreflectedfield(std::uintptr_t _reffield) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D76F0))(0, _reffield);
}
template <typename T = void>
static T internal_call_fromreflectedfield(std::uintptr_t _reffield,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D7718))(0, _reffield, _value);
}
template <typename T = std::uintptr_t>
static T toreflectedmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid, bool _isstatic) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool))(
il2cpp::il2cpp_base() + 0x51D77B8))(0, _clazz, _methodid,
_isstatic);
}
template <typename T = void>
static T internal_call_toreflectedmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
bool _isstatic,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51D77E4))(0, _clazz, _methodid,
_isstatic, _value);
}
template <typename T = std::uintptr_t>
static T toreflectedfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, bool _isstatic) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool))(
il2cpp::il2cpp_base() + 0x51D7894))(0, _clazz, _fieldid,
_isstatic);
}
template <typename T = void>
static T internal_call_toreflectedfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
bool _isstatic,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51D78C0))(0, _clazz, _fieldid,
_isstatic, _value);
}
template <typename T = std::uintptr_t>
static T getsuperclass(std::uintptr_t _clazz) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D7970))(0, _clazz);
}
template <typename T = void>
static T internal_call_getsuperclass(std::uintptr_t _clazz,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D7998))(0, _clazz, _value);
}
template <typename T = bool>
static T isassignablefrom(std::uintptr_t _clazz1,
std::uintptr_t _clazz2) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D7A38))(0, _clazz1, _clazz2);
}
template <typename T = std::int32_t>
static T _throw(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D7AD8))(0, _obj);
}
template <typename T = std::int32_t>
static T thrownew(std::uintptr_t _clazz, il2cpp_string *_message) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *))(
il2cpp::il2cpp_base() + 0x51D7B70))(0, _clazz, _message);
}
template <typename T = std::uintptr_t> static T exceptionoccurred() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D7C10))(0);
}
template <typename T = void>
static T internal_call_exceptionoccurred(std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51D7C38))(0, _value);
}
template <typename T = void> static T exceptiondescribe() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D7CD0))(0);
}
template <typename T = void> static T exceptionclear() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51D7D60))(0);
}
template <typename T = void>
static T fatalerror(il2cpp_string *_message) {
return ((T(*)(void *, il2cpp_string *))(il2cpp::il2cpp_base() +
0x51D7DF0))(0, _message);
}
template <typename T = std::int32_t>
static T pushlocalframe(std::int32_t _capacity) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51D7E88))(0, _capacity);
}
template <typename T = std::uintptr_t>
static T poplocalframe(std::uintptr_t _ptr) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D7F20))(0, _ptr);
}
template <typename T = void>
static T internal_call_poplocalframe(std::uintptr_t _ptr,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D7F48))(0, _ptr, _value);
}
template <typename T = std::uintptr_t>
static T newglobalref(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D7FE8))(0, _obj);
}
template <typename T = void>
static T internal_call_newglobalref(std::uintptr_t _obj,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D8010))(0, _obj, _value);
}
template <typename T = void>
static T deleteglobalref(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D80B0))(0, _obj);
}
template <typename T = std::uintptr_t>
static T newlocalref(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51CC0D0))(0, _obj);
}
template <typename T = void>
static T internal_call_newlocalref(std::uintptr_t _obj,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D8148))(0, _obj, _value);
}
template <typename T = void>
static T deletelocalref(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D81E8))(0, _obj);
}
template <typename T = bool>
static T issameobject(std::uintptr_t _obj1, std::uintptr_t _obj2) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D6E1C))(0, _obj1, _obj2);
}
template <typename T = std::int32_t>
static T ensurelocalcapacity(std::int32_t _capacity) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51D8280))(0, _capacity);
}
template <typename T = std::uintptr_t>
static T allocobject(std::uintptr_t _clazz) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D8318))(0, _clazz);
}
template <typename T = void>
static T internal_call_allocobject(std::uintptr_t _clazz,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D8340))(0, _clazz, _value);
}
template <typename T = std::uintptr_t>
static T newobject(std::uintptr_t _clazz, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D83E0))(0, _clazz, _methodid,
_args);
}
template <typename T = void>
static T internal_call_newobject(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D840C))(0, _clazz, _methodid, _args,
_value);
}
template <typename T = std::uintptr_t>
static T getobjectclass(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D84BC))(0, _obj);
}
template <typename T = void>
static T internal_call_getobjectclass(std::uintptr_t _obj,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D84E4))(0, _obj, _value);
}
template <typename T = bool>
static T isinstanceof(std::uintptr_t _obj, std::uintptr_t _clazz) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D8584))(0, _obj, _clazz);
}
template <typename T = std::uintptr_t>
static T getmethodid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51D8624))(
0, _clazz, _name, _sig);
}
template <typename T = void>
static T
internal_call_getmethodid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig, std::uintptr_t *_value) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
std::uintptr_t *))(il2cpp::il2cpp_base() + 0x51D8650))(
0, _clazz, _name, _sig, _value);
}
template <typename T = std::uintptr_t>
static T getfieldid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51D8700))(
0, _clazz, _name, _sig);
}
template <typename T = void>
static T
internal_call_getfieldid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig, std::uintptr_t *_value) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
std::uintptr_t *))(il2cpp::il2cpp_base() + 0x51D872C))(
0, _clazz, _name, _sig, _value);
}
template <typename T = std::uintptr_t>
static T getstaticmethodid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51D87DC))(
0, _clazz, _name, _sig);
}
template <typename T = void>
static T internal_call_getstaticmethodid(std::uintptr_t _clazz,
il2cpp_string *_name,
il2cpp_string *_sig,
std::uintptr_t *_value) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
std::uintptr_t *))(il2cpp::il2cpp_base() + 0x51D8808))(
0, _clazz, _name, _sig, _value);
}
template <typename T = std::uintptr_t>
static T getstaticfieldid(std::uintptr_t _clazz, il2cpp_string *_name,
il2cpp_string *_sig) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51D88B8))(
0, _clazz, _name, _sig);
}
template <typename T = void>
static T internal_call_getstaticfieldid(std::uintptr_t _clazz,
il2cpp_string *_name,
il2cpp_string *_sig,
std::uintptr_t *_value) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
std::uintptr_t *))(il2cpp::il2cpp_base() + 0x51D88E4))(
0, _clazz, _name, _sig, _value);
}
template <typename T = std::uintptr_t>
static T newstringutf(il2cpp_string *_bytes) {
return ((T(*)(void *, il2cpp_string *))(il2cpp::il2cpp_base() +
0x51D8994))(0, _bytes);
}
template <typename T = void>
static T internal_call_newstringutf(il2cpp_string *_bytes,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_string *, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D89BC))(0, _bytes, _value);
}
template <typename T = std::int32_t>
static T getstringutflength(std::uintptr_t _str) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51D8A5C))(0, _str);
}
template <typename T = il2cpp_string *>
static T getstringutfchars(std::uintptr_t _str) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51CC028))(0, _str);
}
template <typename T = il2cpp_string *>
static T callstringmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8AF4))(0, _obj, _methodid, _args);
}
template <typename T = std::uintptr_t>
static T callobjectmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8B9C))(0, _obj, _methodid, _args);
}
template <typename T = void>
static T internal_call_callobjectmethod(
std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args, std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D8BC8))(0, _obj, _methodid, _args,
_value);
}
template <typename T = std::int32_t>
static T callintmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8C78))(0, _obj, _methodid, _args);
}
template <typename T = bool>
static T callbooleanmethod(std::uintptr_t _obj,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8D20))(0, _obj, _methodid, _args);
}
template <typename T = std::int16_t>
static T callshortmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8DC8))(0, _obj, _methodid, _args);
}
template <typename T = unsigned char>
static T callbytemethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8E70))(0, _obj, _methodid, _args);
}
template <typename T = char>
static T callcharmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8F18))(0, _obj, _methodid, _args);
}
template <typename T = float>
static T callfloatmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D8FC0))(0, _obj, _methodid, _args);
}
template <typename T = double>
static T calldoublemethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D9068))(0, _obj, _methodid, _args);
}
template <typename T = std::int64_t>
static T calllongmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D9110))(0, _obj, _methodid, _args);
}
template <typename T = void>
static T callvoidmethod(std::uintptr_t _obj, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D91B8))(0, _obj, _methodid, _args);
}
template <typename T = il2cpp_string *>
static T getstringfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9260))(0, _obj, _fieldid);
}
template <typename T = std::uintptr_t>
static T getobjectfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9300))(0, _obj, _fieldid);
}
template <typename T = void>
static T internal_call_getobjectfield(std::uintptr_t _obj,
std::uintptr_t _fieldid,
std::uintptr_t *_value) {
return ((
T(*)(void *, std::uintptr_t, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51D9328))(0, _obj, _fieldid, _value);
}
template <typename T = bool>
static T getbooleanfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D93D0))(0, _obj, _fieldid);
}
template <typename T = unsigned char>
static T getbytefield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9470))(0, _obj, _fieldid);
}
template <typename T = char>
static T getcharfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9510))(0, _obj, _fieldid);
}
template <typename T = std::int16_t>
static T getshortfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D95B0))(0, _obj, _fieldid);
}
template <typename T = std::int32_t>
static T getintfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9650))(0, _obj, _fieldid);
}
template <typename T = std::int64_t>
static T getlongfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D96F0))(0, _obj, _fieldid);
}
template <typename T = float>
static T getfloatfield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9790))(0, _obj, _fieldid);
}
template <typename T = double>
static T getdoublefield(std::uintptr_t _obj, std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D9830))(0, _obj, _fieldid);
}
template <typename T = void>
static T setstringfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
il2cpp_string *_val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51D98D0))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setobjectfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
std::uintptr_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::uintptr_t))(il2cpp::il2cpp_base() + 0x51D9978))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setbooleanfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
bool _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool))(
il2cpp::il2cpp_base() + 0x51D9A20))(0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setbytefield(std::uintptr_t _obj, std::uintptr_t _fieldid,
unsigned char _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
unsigned char))(il2cpp::il2cpp_base() + 0x51D9AC8))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setcharfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
char _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, char))(
il2cpp::il2cpp_base() + 0x51D9B70))(0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setshortfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
std::int16_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int16_t))(il2cpp::il2cpp_base() + 0x51D9C18))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setintfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
std::int32_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int32_t))(il2cpp::il2cpp_base() + 0x51D9CC0))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setlongfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
std::int64_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int64_t))(il2cpp::il2cpp_base() + 0x51D9D68))(
0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setfloatfield(std::uintptr_t _obj, std::uintptr_t _fieldid,
float _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, float))(
il2cpp::il2cpp_base() + 0x51D9E18))(0, _obj, _fieldid, _val);
}
template <typename T = void>
static T setdoublefield(std::uintptr_t _obj, std::uintptr_t _fieldid,
double _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, double))(
il2cpp::il2cpp_base() + 0x51D9EC0))(0, _obj, _fieldid, _val);
}
template <typename T = il2cpp_string *>
static T callstaticstringmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D9F70))(0, _clazz, _methodid,
_args);
}
template <typename T = std::uintptr_t>
static T callstaticobjectmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA018))(0, _clazz, _methodid,
_args);
}
template <typename T = void>
static T internal_call_callstaticobjectmethod(
std::uintptr_t _clazz, std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args, std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DA044))(0, _clazz, _methodid, _args,
_value);
}
template <typename T = std::int32_t>
static T callstaticintmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA0F4))(0, _clazz, _methodid,
_args);
}
template <typename T = bool>
static T callstaticbooleanmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA19C))(0, _clazz, _methodid,
_args);
}
template <typename T = std::int16_t>
static T callstaticshortmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA244))(0, _clazz, _methodid,
_args);
}
template <typename T = unsigned char>
static T callstaticbytemethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA2EC))(0, _clazz, _methodid,
_args);
}
template <typename T = char>
static T callstaticcharmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA394))(0, _clazz, _methodid,
_args);
}
template <typename T = float>
static T callstaticfloatmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA43C))(0, _clazz, _methodid,
_args);
}
template <typename T = double>
static T callstaticdoublemethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA4E4))(0, _clazz, _methodid,
_args);
}
template <typename T = std::int64_t>
static T callstaticlongmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA58C))(0, _clazz, _methodid,
_args);
}
template <typename T = void>
static T callstaticvoidmethod(std::uintptr_t _clazz,
std::uintptr_t _methodid,
il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DA634))(0, _clazz, _methodid,
_args);
}
template <typename T = il2cpp_string *>
static T getstaticstringfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DA6DC))(0, _clazz, _fieldid);
}
template <typename T = std::uintptr_t>
static T getstaticobjectfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DA77C))(0, _clazz, _fieldid);
}
template <typename T = void>
static T internal_call_getstaticobjectfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DA7A4))(0, _clazz, _fieldid,
_value);
}
template <typename T = bool>
static T getstaticbooleanfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DA84C))(0, _clazz, _fieldid);
}
template <typename T = unsigned char>
static T getstaticbytefield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DA8EC))(0, _clazz, _fieldid);
}
template <typename T = char>
static T getstaticcharfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DA98C))(0, _clazz, _fieldid);
}
template <typename T = std::int16_t>
static T getstaticshortfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DAA2C))(0, _clazz, _fieldid);
}
template <typename T = std::int32_t>
static T getstaticintfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DAACC))(0, _clazz, _fieldid);
}
template <typename T = std::int64_t>
static T getstaticlongfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DAB6C))(0, _clazz, _fieldid);
}
template <typename T = float>
static T getstaticfloatfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DAC0C))(0, _clazz, _fieldid);
}
template <typename T = double>
static T getstaticdoublefield(std::uintptr_t _clazz,
std::uintptr_t _fieldid) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DACAC))(0, _clazz, _fieldid);
}
template <typename T = void>
static T setstaticstringfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
il2cpp_string *_val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51DAD4C))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticobjectfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
std::uintptr_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::uintptr_t))(il2cpp::il2cpp_base() + 0x51DADF4))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticbooleanfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, bool _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, bool))(
il2cpp::il2cpp_base() + 0x51DAE9C))(0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticbytefield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
unsigned char _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
unsigned char))(il2cpp::il2cpp_base() + 0x51DAF44))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticcharfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, char _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, char))(
il2cpp::il2cpp_base() + 0x51DAFEC))(0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticshortfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
std::int16_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int16_t))(il2cpp::il2cpp_base() + 0x51DB094))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticintfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, std::int32_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int32_t))(il2cpp::il2cpp_base() + 0x51DB13C))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticlongfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid,
std::int64_t _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t,
std::int64_t))(il2cpp::il2cpp_base() + 0x51DB1E4))(
0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticfloatfield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, float _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, float))(
il2cpp::il2cpp_base() + 0x51DB294))(0, _clazz, _fieldid, _val);
}
template <typename T = void>
static T setstaticdoublefield(std::uintptr_t _clazz,
std::uintptr_t _fieldid, double _val) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t, double))(
il2cpp::il2cpp_base() + 0x51DB33C))(0, _clazz, _fieldid, _val);
}
template <typename T = std::uintptr_t>
static T tobooleanarray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB3EC))(0, _array);
}
template <typename T = void>
static T
internal_call_tobooleanarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB414))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T tobytearray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB4B4))(0, _array);
}
template <typename T = void>
static T internal_call_tobytearray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB4DC))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T tochararray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB57C))(0, _array);
}
template <typename T = void>
static T internal_call_tochararray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB5A4))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T toshortarray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB644))(0, _array);
}
template <typename T = void>
static T
internal_call_toshortarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB66C))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T tointarray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB70C))(0, _array);
}
template <typename T = void>
static T internal_call_tointarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB734))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T tolongarray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB7D4))(0, _array);
}
template <typename T = void>
static T internal_call_tolongarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB7FC))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T tofloatarray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB89C))(0, _array);
}
template <typename T = void>
static T
internal_call_tofloatarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB8C4))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T todoublearray(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DB964))(0, _array);
}
template <typename T = void>
static T
internal_call_todoublearray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t *_value) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DB98C))(0, _array, _value);
}
template <typename T = std::uintptr_t>
static T toobjectarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t _arrayclass) {
return (
(T(*)(void *, il2cpp_array<std::uintptr_t> *, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51DBA2C))(0, _array, _arrayclass);
}
template <typename T = void>
static T
internal_call_toobjectarray(il2cpp_array<std::uintptr_t> *_array,
std::uintptr_t _arrayclass,
std::uintptr_t *_value) {
return (
(T(*)(void *, il2cpp_array<std::uintptr_t> *, std::uintptr_t,
std::uintptr_t *))(il2cpp::il2cpp_base() + 0x51DBA54))(
0, _array, _arrayclass, _value);
}
template <typename T = std::uintptr_t>
static T toobjectarray_1(il2cpp_array<std::uintptr_t> *_array) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DBAFC))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T frombooleanarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBBA0))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T frombytearray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBC38))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromchararray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBCD0))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromshortarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBD68))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromintarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBE00))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromlongarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBE98))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromfloatarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBF30))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromdoublearray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DBFC8))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T fromobjectarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DC060))(0, _array);
}
template <typename T = std::int32_t>
static T getarraylength(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DC0F8))(0, _array);
}
template <typename T = std::uintptr_t>
static T newbooleanarray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC190))(0, _size);
}
template <typename T = void>
static T internal_call_newbooleanarray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC1B8))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newbytearray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC258))(0, _size);
}
template <typename T = void>
static T internal_call_newbytearray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC280))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newchararray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC320))(0, _size);
}
template <typename T = void>
static T internal_call_newchararray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC348))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newshortarray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC3E8))(0, _size);
}
template <typename T = void>
static T internal_call_newshortarray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC410))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newintarray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC4B0))(0, _size);
}
template <typename T = void>
static T internal_call_newintarray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC4D8))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newlongarray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC578))(0, _size);
}
template <typename T = void>
static T internal_call_newlongarray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC5A0))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newfloatarray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC640))(0, _size);
}
template <typename T = void>
static T internal_call_newfloatarray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC668))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newdoublearray(std::int32_t _size) {
return ((T(*)(void *, std::int32_t))(il2cpp::il2cpp_base() +
0x51DC708))(0, _size);
}
template <typename T = void>
static T internal_call_newdoublearray(std::int32_t _size,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DC730))(0, _size, _value);
}
template <typename T = std::uintptr_t>
static T newobjectarray(std::int32_t _size, std::uintptr_t _clazz,
std::uintptr_t _obj) {
return (
(T(*)(void *, std::int32_t, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x51D01DC))(0, _size, _clazz, _obj);
}
template <typename T = void>
static T internal_call_newobjectarray(std::int32_t _size,
std::uintptr_t _clazz,
std::uintptr_t _obj,
std::uintptr_t *_value) {
return ((T(*)(void *, std::int32_t, std::uintptr_t, std::uintptr_t,
std::uintptr_t *))(il2cpp::il2cpp_base() +
0x51DC7D0))(0, _size, _clazz, _obj,
_value);
}
template <typename T = bool>
static T getbooleanarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DC880))(0, _array, _index);
}
template <typename T = unsigned char>
static T getbytearrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DC920))(0, _array, _index);
}
template <typename T = char>
static T getchararrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DC9C0))(0, _array, _index);
}
template <typename T = std::int16_t>
static T getshortarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCA60))(0, _array, _index);
}
template <typename T = std::int32_t>
static T getintarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCB00))(0, _array, _index);
}
template <typename T = std::int64_t>
static T getlongarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCBA0))(0, _array, _index);
}
template <typename T = float>
static T getfloatarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCC40))(0, _array, _index);
}
template <typename T = double>
static T getdoublearrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCCE0))(0, _array, _index);
}
template <typename T = std::uintptr_t>
static T getobjectarrayelement(std::uintptr_t _array,
std::int32_t _index) {
return ((T(*)(void *, std::uintptr_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DCD80))(0, _array, _index);
}
template <typename T = void>
static T internal_call_getobjectarrayelement(std::uintptr_t _array,
std::int32_t _index,
std::uintptr_t *_value) {
return ((
T(*)(void *, std::uintptr_t, std::int32_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DCDA8))(0, _array, _index, _value);
}
template <typename T = void>
static T setbooleanarrayelement(std::uintptr_t _array,
std::int32_t _index,
unsigned char _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, unsigned char))(
il2cpp::il2cpp_base() + 0x51DCE50))(0, _array, _index, _val);
}
template <typename T = void>
static T setbytearrayelement(std::uintptr_t _array, std::int32_t _index,
signed char _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, signed char))(
il2cpp::il2cpp_base() + 0x51DCEF8))(0, _array, _index, _val);
}
template <typename T = void>
static T setchararrayelement(std::uintptr_t _array, std::int32_t _index,
char _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, char))(
il2cpp::il2cpp_base() + 0x51DCFA0))(0, _array, _index, _val);
}
template <typename T = void>
static T setshortarrayelement(std::uintptr_t _array,
std::int32_t _index, std::int16_t _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, std::int16_t))(
il2cpp::il2cpp_base() + 0x51DD048))(0, _array, _index, _val);
}
template <typename T = void>
static T setintarrayelement(std::uintptr_t _array, std::int32_t _index,
std::int32_t _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, std::int32_t))(
il2cpp::il2cpp_base() + 0x51DD0F0))(0, _array, _index, _val);
}
template <typename T = void>
static T setlongarrayelement(std::uintptr_t _array, std::int32_t _index,
std::int64_t _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, std::int64_t))(
il2cpp::il2cpp_base() + 0x51DD198))(0, _array, _index, _val);
}
template <typename T = void>
static T setfloatarrayelement(std::uintptr_t _array,
std::int32_t _index, float _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, float))(
il2cpp::il2cpp_base() + 0x51DD248))(0, _array, _index, _val);
}
template <typename T = void>
static T setdoublearrayelement(std::uintptr_t _array,
std::int32_t _index, double _val) {
return ((T(*)(void *, std::uintptr_t, std::int32_t, double))(
il2cpp::il2cpp_base() + 0x51DD2F0))(0, _array, _index, _val);
}
template <typename T = void>
static T setobjectarrayelement(std::uintptr_t _array,
std::int32_t _index,
std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t, std::int32_t,
std::uintptr_t))(il2cpp::il2cpp_base() + 0x51D0208))(
0, _array, _index, _obj);
}
};
} // namespace unityengine