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.

182 lines
8.0 KiB

#pragma once
#include <il2cpp/il2cpp.h>
namespace unityengine {
class _androidjnihelper {
public:
template <typename T = bool> static T get_debug() {
return ((T(*)(void *))(il2cpp::il2cpp_base() + 0x51DD3A8))(0);
}
template <typename T = void> static T set_debug(bool _value) {
return ((T(*)(void *, bool))(il2cpp::il2cpp_base() + 0x51DD438))(
0, _value);
}
template <typename T = std::uintptr_t>
static T getconstructorid(std::uintptr_t _javaclass) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DD4D0))(0, _javaclass);
}
template <typename T = std::uintptr_t>
static T getconstructorid_1(std::uintptr_t _javaclass,
il2cpp_string *_signature) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *))(
il2cpp::il2cpp_base() + 0x51D0488))(0, _javaclass, _signature);
}
template <typename T = std::uintptr_t>
static T getmethodid(std::uintptr_t _javaclass,
il2cpp_string *_methodname,
il2cpp_string *_signature) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51DD554))(
0, _javaclass, _methodname, _signature);
}
template <typename T = std::uintptr_t>
static T getmethodid_1(std::uintptr_t _javaclass,
il2cpp_string *_methodname) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *))(
il2cpp::il2cpp_base() + 0x51DD574))(0, _javaclass, _methodname);
}
template <typename T = std::uintptr_t>
static T getmethodid_2(std::uintptr_t _javaclass,
il2cpp_string *_methodname,
il2cpp_string *_signature, bool _isstatic) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
bool))(il2cpp::il2cpp_base() + 0x51D04C8))(
0, _javaclass, _methodname, _signature, _isstatic);
}
template <typename T = std::uintptr_t>
static T getfieldid(std::uintptr_t _javaclass,
il2cpp_string *_fieldname,
il2cpp_string *_signature) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_string *))(il2cpp::il2cpp_base() + 0x51DD610))(
0, _javaclass, _fieldname, _signature);
}
template <typename T = std::uintptr_t>
static T getfieldid_1(std::uintptr_t _javaclass,
il2cpp_string *_fieldname) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *))(
il2cpp::il2cpp_base() + 0x51DD650))(0, _javaclass, _fieldname);
}
template <typename T = std::uintptr_t>
static T getfieldid_2(std::uintptr_t _javaclass,
il2cpp_string *_fieldname,
il2cpp_string *_signature, bool _isstatic) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_string *, il2cpp_string *,
bool))(il2cpp::il2cpp_base() + 0x51DD630))(
0, _javaclass, _fieldname, _signature, _isstatic);
}
template <typename T = std::uintptr_t>
static T createjavarunnable(std::uintptr_t _jrunnable) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51CD56C))(0, _jrunnable);
}
template <typename T = std::uintptr_t>
static T createjavaproxy(std::uintptr_t _proxy) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51CBA98))(0, _proxy);
}
template <typename T = void>
static T internal_call_createjavaproxy(std::uintptr_t _proxy,
std::uintptr_t *_value) {
return ((T(*)(void *, std::uintptr_t, std::uintptr_t *))(
il2cpp::il2cpp_base() + 0x51DD6EC))(0, _proxy, _value);
}
template <typename T = std::uintptr_t>
static T converttojniarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DD78C))(0, _array);
}
template <typename T = il2cpp_array<std::uintptr_t> *>
static T createjniargarray(il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D5B8C))(0, _args);
}
template <typename T = void>
static T deletejniargarray(il2cpp_array<std::uintptr_t> *_args,
il2cpp_array<std::uintptr_t> *_jniargs) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *,
il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D5C1C))(0, _args, _jniargs);
}
template <typename T = std::uintptr_t>
static T getconstructorid_2(std::uintptr_t _jclass,
il2cpp_array<std::uintptr_t> *_args) {
return (
(T(*)(void *, std::uintptr_t, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51D5B90))(0, _jclass, _args);
}
template <typename T = std::uintptr_t>
static T
getmethodid_3(std::uintptr_t _jclass, il2cpp_string *_methodname,
il2cpp_array<std::uintptr_t> *_args, bool _isstatic) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_array<std::uintptr_t> *, bool))(
il2cpp::il2cpp_base() + 0x51D5CE4))(0, _jclass, _methodname,
_args, _isstatic);
}
template <typename T = il2cpp_string *>
static T getsignature(std::uintptr_t _obj) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x51DD790))(0, _obj);
}
template <typename T = il2cpp_string *>
static T getsignature_1(il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x51DD794))(0, _args);
}
template <typename T = std::uintptr_t>
static T convertfromjniarray(std::uintptr_t _array) {
return ((T(*)(void *, std::uintptr_t))(il2cpp::il2cpp_base() +
0x0))(0, _array);
}
template <typename T = std::uintptr_t>
static T
getmethodid_4(std::uintptr_t _jclass, il2cpp_string *_methodname,
il2cpp_array<std::uintptr_t> *_args, bool _isstatic) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *,
il2cpp_array<std::uintptr_t> *, bool))(
il2cpp::il2cpp_base() + 0x0))(0, _jclass, _methodname, _args,
_isstatic);
}
template <typename T = std::uintptr_t>
static T getfieldid_3(std::uintptr_t _jclass, il2cpp_string *_fieldname,
bool _isstatic) {
return ((T(*)(void *, std::uintptr_t, il2cpp_string *, bool))(
il2cpp::il2cpp_base() + 0x0))(0, _jclass, _fieldname,
_isstatic);
}
template <typename T = il2cpp_string *>
static T getsignature_2(il2cpp_array<std::uintptr_t> *_args) {
return ((T(*)(void *, il2cpp_array<std::uintptr_t> *))(
il2cpp::il2cpp_base() + 0x0))(0, _args);
}
};
} // namespace unityengine