2178 lines
121 KiB
C++
2178 lines
121 KiB
C++
// gui block
|
|
#include "slinky/engine.h"
|
|
#include "slinky/gui_state.h"
|
|
|
|
FN(unsigned long long, libc_strlen, (const char *str));
|
|
// hex colour text filter (lower-cases A-F), max 6 chars
|
|
extern "C" void hex_colour_text_filter(char *buf, char character) {
|
|
unsigned long long n = libc_strlen(buf);
|
|
if (n > 5) return;
|
|
if ((unsigned char)(character - 0x41) <= 5) {
|
|
character |= 0x20;
|
|
} else {
|
|
unsigned char l = (unsigned char)(character - 0x61);
|
|
|
|
unsigned char nl = l >= 6;
|
|
|
|
unsigned char d = (unsigned char)(character - 0x30);
|
|
|
|
unsigned char nd = d >= 10;
|
|
|
|
if (nl & nd) return;
|
|
}
|
|
buf[n] = character;
|
|
}
|
|
|
|
// ---- colour-picker channel slider (track outline, knob, drag sets value idx in 0..1) ----
|
|
struct R16h { float x, y, w, h; };
|
|
struct V4h { float x, y, z, w; };
|
|
FN(V4h, nvg_rgba_f, (float r, float g, float b, float a));
|
|
FN(void, nvg_StrokeColor, (void *nvg, V4h *c));
|
|
FN(void, nvg_StrokeWidth, (void *nvg, float w));
|
|
FN(void, draw_rect_stroked, (void *window, R16h *r, float round));
|
|
FN(void, nvg_BeginPath, (void *nvg));
|
|
FN(void, nvg_Circle, (void *nvg, float x, float y, float rad));
|
|
FN(void, nvg_FillColor, (void *nvg, V4h *c));
|
|
FN(void, nvg_Fill, (void *nvg));
|
|
FN(void, nvg_Stroke, (void *nvg));
|
|
FN(unsigned char, clicked_inside_r_frame, (GuiState *gui, R16h r));
|
|
FN(float, limit_rotation_delta, (float x, float a, float b));
|
|
extern "C" const float gui_slider_track_grey_level, two_in_jni_ids, corner_radius_5_in_jni_ids, ten_in_jni_ids, offset_neg_20, clamp_bound_1_in_jni_ids;
|
|
extern "C" const double factor_0_5_in_jni_ids;
|
|
extern "C" bool is_packet_cancelled(GuiState *gui, void **window, R16h *r, unsigned idx, V4h *col) {
|
|
void *nvg = *window;
|
|
float k = gui_slider_track_grey_level;
|
|
V4h c = nvg_rgba_f(k, k, k, 1.0f);
|
|
nvg_StrokeColor(nvg, &c);
|
|
float lw = two_in_jni_ids;
|
|
nvg_StrokeWidth(nvg, lw);
|
|
R16h rr = *r;
|
|
draw_rect_stroked(window, &rr, corner_radius_5_in_jni_ids);
|
|
float y = r->y, h = r->h, pad = ten_in_jni_ids;
|
|
float *vals = (float *)(&gui->popup_hsl);
|
|
float kx = (r->w + offset_neg_20) * vals[idx] + (r->x + pad);
|
|
V4h cc = *col;
|
|
void *ig2 = *window;
|
|
nvg_BeginPath(ig2);
|
|
nvg_Circle(ig2, kx, (float)((double)h * factor_0_5_in_jni_ids + (double)y), pad);
|
|
nvg_FillColor(ig2, &cc);
|
|
nvg_Fill(ig2);
|
|
V4h c2 = nvg_rgba_f(k, k, k, 1.0f);
|
|
nvg_StrokeColor(ig2, &c2);
|
|
nvg_StrokeWidth(ig2, lw);
|
|
nvg_Stroke(ig2);
|
|
unsigned char *drag = (unsigned char *)(&gui->popup_list_state);
|
|
if (clicked_inside_r_frame(gui, *r)) {
|
|
drag[idx] = 1;
|
|
} else if (gui->click_capture == 0) {
|
|
drag[idx] = 0;
|
|
return false;
|
|
} else if (drag[idx] != 1) {
|
|
return false;
|
|
}
|
|
vals[idx] = limit_rotation_delta(0.0f, clamp_bound_1_in_jni_ids, (gui->mouse_scene.x - r->x) / r->w);
|
|
return true;
|
|
}
|
|
|
|
// ---- BEGIN generated by tools/lift18b70.py (do not edit by hand) ----
|
|
// JNI ID table initialiser: classes by name (global refs), methods/fields by name + signature.
|
|
// Minecraft names come from [variant][mapping] tables: classes by (mapping != 0), members by mapping
|
|
// (obfuscated / MCP / SRG). Returns 0, 0x7d4 (lookup failed) or 0x7d5 (NewGlobalRef failed).
|
|
#include "slinky/jids.h"
|
|
struct JLoad { JNIEnv *env; jobject loader; };
|
|
struct NS { const char *name, *sig; };
|
|
FN(void *, find_class, (jobject loader, JNIEnv *env, const char *name)); // load class by dotted name
|
|
FN(int, libc_snprintf, (char *buf, unsigned long long n, const char *fmt, ...)); // snprintf
|
|
extern "C" char jni_item_stack_ctor_signature[];
|
|
extern "C" char jni_render_method_signature[];
|
|
extern "C" const char str_java_util_list[];
|
|
extern "C" const char str_get[];
|
|
extern "C" const char str_i_ljava_lang_object[];
|
|
extern "C" const char str_size[];
|
|
extern "C" const char str_i_in_jni_ids[];
|
|
extern "C" const char str_add[];
|
|
extern "C" const char str_ljava_lang_object_z[];
|
|
extern "C" const char str_remove[];
|
|
extern "C" const char str_java_util_map[];
|
|
extern "C" const char str_containskey[];
|
|
extern "C" const char str_ljava_lang_object_ljava_lang_o[];
|
|
extern "C" const char str_org_lwjgl_input_mouse[];
|
|
extern "C" const char str_isgrabbed[];
|
|
extern "C" const char str_z_in_jni_ids[];
|
|
extern "C" const char str_setgrabbed[];
|
|
extern "C" const char jni_signature_z_v[];
|
|
extern "C" const char str_isbuttondown[];
|
|
extern "C" const char jni_signature_i_z[];
|
|
extern "C" const char str_next_in_jni_ids[];
|
|
extern "C" const char str_setcursorposition[];
|
|
extern "C" const char jni_signature_ii_v[];
|
|
extern "C" const char str_org_lwjgl_input_keyboard[];
|
|
extern "C" const char str_iskeydown[];
|
|
extern "C" const char str_geteventkey[];
|
|
extern "C" const char str_geteventkeystate[];
|
|
extern "C" const char str_org_lwjgl_opengl_display[];
|
|
extern "C" const char str_update[];
|
|
extern "C" const char str_v_in_jni_ids[];
|
|
extern "C" const char str_isactive[];
|
|
extern "C" const char str_width[];
|
|
extern "C" const char str_i_in_jni_ids_a[];
|
|
extern "C" const char str_height[];
|
|
extern "C" const char str_framebufferwidth[];
|
|
extern "C" const char str_framebufferheight[];
|
|
extern "C" const char str_java_lang_object[];
|
|
extern "C" const char str_hashcode[];
|
|
extern "C" const char str_java_security_secureclassloade[];
|
|
extern "C" const char str_init_in_jni_ids[];
|
|
extern "C" const char str_ljava_lang_classloader_v[];
|
|
extern "C" const char str_io_netty_channel_channel[];
|
|
extern "C" const char str_pipeline[];
|
|
extern "C" const char str_lio_netty_channel_channelpipel[];
|
|
extern "C" const char str_io_netty_channel_channelpipeli[];
|
|
extern "C" const char str_addbefore[];
|
|
extern "C" const char str_ljava_lang_string_ljava_lang_s[];
|
|
extern "C" const char str_ljava_lang_class_lio_netty_cha[];
|
|
extern "C" const char str_java_lang_enum[];
|
|
extern "C" const char str_ordinal[];
|
|
extern "C" const char str_z_in_jni_ids_a[];
|
|
extern "C" const char str_c_in_jni_ids[];
|
|
extern "C" const char str_a_in_jni_ids[];
|
|
extern "C" const char str_ljava_lang_runnable_lcom_googl[];
|
|
extern "C" const char str_d_in_jni_ids[];
|
|
extern "C" const char str_f_in_jni_ids[];
|
|
extern "C" const char str_b_in_jni_ids[];
|
|
extern "C" const char str_ljava_util_uuid[];
|
|
extern "C" const char str_ljava_lang_string[];
|
|
extern "C" const char jni_signature_ff_v[];
|
|
extern "C" const char str_fff_v[];
|
|
extern "C" const char str_ljava_util_list[];
|
|
extern "C" const char str_iiiiii_v[];
|
|
extern "C" const char str_b_in_jni_ids_a[];
|
|
extern "C" const char str_lnet_minecraft_util_movingobje_in_jni_ids[];
|
|
extern "C" const char str_lsa_lazw_v[];
|
|
extern "C" const char str_lpk_laui_v[];
|
|
extern "C" const char str_lnet_minecraft_entity_entity_l[];
|
|
extern "C" const char str_iii_v[];
|
|
extern "C" const char str_dddddd_v[];
|
|
extern "C" const char str_j_in_jni_ids[];
|
|
extern "C" const char ptr_to_str_e_in_jni_ids_q[];
|
|
extern "C" const char ptr_to_str_l_in_jni_ids[];
|
|
extern "C" const char str_f_in_jni_ids_a[];
|
|
extern "C" const char fmt_l_str_v[];
|
|
extern "C" const char str_ddd_v[];
|
|
extern "C" const char str_ljava_lang_string_in_jni_ids[];
|
|
extern "C" const char str_ljava_util_map[];
|
|
extern "C" const char str_lio_netty_channel_channel[];
|
|
extern "C" const char jni_signature_f_v[];
|
|
extern "C" const char jni_signature_fi_v[];
|
|
extern "C" const char jni_signature_fz_f[];
|
|
extern "C" const char ptr_to_str_b_in_jni_ids_h[];
|
|
extern "C" const char ptr_to_str_a_in_jni_ids_z[];
|
|
extern "C" const char str_lsv_ddd_v[];
|
|
extern "C" const char str_lpr_ddd_v[];
|
|
extern "C" const char str_lsv_z[];
|
|
extern "C" const char str_lpr_z[];
|
|
extern "C" const char str_lsv_dddff_v[];
|
|
extern "C" const char str_lpr_dddff_v[];
|
|
extern "C" const char str_lnet_minecraft_entity_entityli_in_jni_ids[];
|
|
extern "C" const char str_lnet_minecraft_entity_entityli_in_jni_ids_a[];
|
|
extern "C" const char str_lnet_minecraft_entity_entityli_in_jni_ids_b[];
|
|
extern "C" const char str_passspecialrender[];
|
|
extern "C" const char str_rendername[];
|
|
extern "C" const char str_canrendername[];
|
|
extern "C" const char str_dorender[];
|
|
extern "C" const char str_func_77033_b[];
|
|
extern "C" const char str_func_177067_a[];
|
|
extern "C" const char str_func_110813_b[];
|
|
extern "C" const char str_func_177070_b[];
|
|
extern "C" const char str_func_76986_a[];
|
|
extern "C" const char str_ljava_lang_string_i[];
|
|
extern "C" const char str_l_s_dddff_v[];
|
|
extern "C" const char ptr_to_str_a_in_jni_ids_10[];
|
|
extern "C" const char ptr_to_str_a_in_jni_ids_11[];
|
|
extern "C" const char ptr_to_str_d_in_jni_ids_h[];
|
|
extern "C" const char ptr_to_str_d_in_jni_ids_i[];
|
|
extern "C" const char str_readablebytes[];
|
|
extern "C" const char str_readerindex[];
|
|
extern "C" const char str_getbytes[];
|
|
extern "C" const char str_i_b_lio_netty_buffer_bytebuf[];
|
|
extern "C" const char str_java_util_uuid[];
|
|
extern "C" const char str_getleastsignificantbits[];
|
|
extern "C" const char str_j_in_jni_ids_a[];
|
|
extern "C" const char str_getmostsignificantbits[];
|
|
extern "C" const char str_ljava_lang_string_v[];
|
|
extern "C" const char str_ljava_lang_string_s[];
|
|
extern "C" const char str_io_netty_util_concurrent_gener[];
|
|
extern "C" const char str_lit[];
|
|
extern "C" const char str_lnet_minecraft_network_play_cl_in_jni_ids[];
|
|
extern "C" const char str_lig_a[];
|
|
extern "C" const char str_lit_v[];
|
|
extern "C" const char str_lig_a_v[];
|
|
extern "C" const char str_lnet_minecraft_network_play_cl_in_jni_ids_a[];
|
|
extern "C" const char str_open_inventory_achievement[];
|
|
extern "C" const char jni_signature_i_v[];
|
|
extern "C" const char jni_signature_ci_v[];
|
|
extern "C" const char str_ljava_lang_string_ljava_lang_s_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_bao[];
|
|
extern "C" const NS ptr_to_str_m[];
|
|
extern "C" const NS ptr_to_str_ad[];
|
|
extern "C" const NS ptr_to_str_aa[];
|
|
extern "C" const NS ptr_to_str_ab[];
|
|
extern "C" const NS ptr_to_str_h[];
|
|
extern "C" const NS ptr_to_str_i[];
|
|
extern "C" const NS ptr_to_str_f[];
|
|
extern "C" const NS ptr_to_str_q[];
|
|
extern "C" const NS ptr_to_str_u[];
|
|
extern "C" const NS ptr_to_str_x[];
|
|
extern "C" const NS ptr_to_str_t[];
|
|
extern "C" const NS ptr_to_str_u_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_ad_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_n[];
|
|
extern "C" const NS ptr_to_str_r[];
|
|
extern "C" const NS ptr_to_str_d[];
|
|
extern "C" const NS ptr_to_str_e[];
|
|
extern "C" const NS ptr_to_str_l[];
|
|
extern "C" const NS ptr_to_str_g[];
|
|
extern "C" const NS ptr_to_str_p[];
|
|
extern "C" const NS ptr_to_str_c[];
|
|
extern "C" const NS ptr_to_str_v[];
|
|
extern "C" const NS ptr_to_str_a[];
|
|
extern "C" const NS ptr_to_str_al[];
|
|
extern "C" const NS ptr_to_str_am[];
|
|
extern "C" const char *const ptr_to_str_sa[];
|
|
extern "C" const NS ptr_to_str_s[];
|
|
extern "C" const NS ptr_to_str_t_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_u_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_p_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_q_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_y[];
|
|
extern "C" const NS ptr_to_str_z[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_b[];
|
|
extern "C" const NS ptr_to_str_v_in_jni_ids[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_x_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_aa_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_p[];
|
|
extern "C" const NS ptr_to_str_ar[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_k[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_m_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_ao[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_q[];
|
|
extern "C" const NS ptr_to_str_an[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_r[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_s[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_u[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids_b[];
|
|
extern "C" const char *const ptr_to_str_ahb[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_v_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_7[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_18[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_l[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_t[];
|
|
extern "C" const NS ptr_to_str_p_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_23[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_24[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_l[];
|
|
extern "C" const char *const ptr_to_str_bbr[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_u[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_m[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_m[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_s[];
|
|
extern "C" const char *const ptr_to_str_bbj[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_25[];
|
|
extern "C" const NS ptr_to_str_as[];
|
|
extern "C" const NS ptr_to_str_aw[];
|
|
extern "C" const char *const ptr_to_str_azu[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_26[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_t[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_n[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_o[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_u[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_v[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_n[];
|
|
extern "C" const char *const ptr_to_str_alz[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_aji[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_v[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_cj[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_o[];
|
|
extern "C" const char *const ptr_to_str_bal[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_g[];
|
|
extern "C" const char *const ptr_to_str_azt[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_w[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_p[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_p[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_c[];
|
|
extern "C" const char *const ptr_to_str_bex[];
|
|
extern "C" const NS ptr_to_str_u_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_j[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_sv[];
|
|
extern "C" const NS ptr_to_str_be[];
|
|
extern "C" const NS ptr_to_str_bd[];
|
|
extern "C" const NS ptr_to_str_ax[];
|
|
extern "C" const NS ptr_to_str_ay[];
|
|
extern "C" const NS ptr_to_str_bo[];
|
|
extern "C" const NS ptr_to_str_bp[];
|
|
extern "C" const NS ptr_to_str_bq[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_as_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_ba[];
|
|
extern "C" const NS ptr_to_str_bt[];
|
|
extern "C" const NS ptr_to_str_ay_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_x[];
|
|
extern "C" const NS ptr_to_str_bj[];
|
|
extern "C" const char *const ptr_to_str_yz[];
|
|
extern "C" const NS ptr_to_str_bm[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_str_bn[];
|
|
extern "C" const NS ptr_to_str_ba_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_bi[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_q[];
|
|
extern "C" const NS ptr_to_str_by[];
|
|
extern "C" const NS ptr_to_str_bs[];
|
|
extern "C" const NS ptr_to_str_q_in_jni_ids_a[];
|
|
extern "C" const char *const ptr_to_str_yx[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_i[];
|
|
extern "C" const char *const ptr_to_str_add[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_y[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_r[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_i[];
|
|
extern "C" const NS ptr_to_str_u_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_adb[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_r[];
|
|
extern "C" const char *const ptr_to_str_azw[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_k[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_azy[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_bjb[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_a[];
|
|
extern "C" const char *const ptr_to_str_fj[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_fk[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_l[];
|
|
extern "C" const char *const ptr_to_str_aay[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_j[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_a[];
|
|
extern "C" const char *const ptr_to_str_rb[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_m[];
|
|
extern "C" const char *const ptr_to_str_ej[];
|
|
extern "C" const NS ptr_to_str_m_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_n[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_o[];
|
|
extern "C" const char *const ptr_to_str_jd[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_k[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_p[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_e[];
|
|
extern "C" const char *const ptr_to_str_ji[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_b[];
|
|
extern "C" const char *const ptr_to_str_jo[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_c[];
|
|
extern "C" const char *const ptr_to_str_aor[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_hy[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_q[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_c[];
|
|
extern "C" const char *const ptr_to_str_bnn[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_r[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_j_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_hf[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_s[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_i[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_l[];
|
|
extern "C" const char *const ptr_to_str_ik[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_t[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_k[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_e[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_f[];
|
|
extern "C" const char *const ptr_to_str_gt[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_v[];
|
|
extern "C" const char *const ptr_to_str_bll[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_l[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_f[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_blk[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_bl[];
|
|
extern "C" const NS ptr_to_str_bm_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_bn_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_w[];
|
|
extern "C" const char *const ptr_to_str_bfu[];
|
|
extern "C" const char *const ptr_to_str_ib[];
|
|
extern "C" const char *const ptr_to_str_hc[];
|
|
extern "C" const char *const ptr_to_str_blt[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_x[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_y[];
|
|
extern "C" const char *const ptr_to_str_bmg[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_2[];
|
|
extern "C" const char *const ptr_to_str_bma[];
|
|
extern "C" const NS ptr_to_str_r_in_jni_ids_e[];
|
|
extern "C" const char *const ptr_to_str_baj[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_3[];
|
|
extern "C" const char *const ptr_to_str_boh[];
|
|
extern "C" const char *const ptr_to_str_bbu[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_4[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_5[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_6[];
|
|
extern "C" const char *const ptr_to_str_bfl[];
|
|
extern "C" const NS ptr_to_str_l_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_j_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_h[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_x_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_o[];
|
|
extern "C" const NS ptr_to_str_p_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_g[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_m[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_i[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_n[];
|
|
extern "C" const char *const ptr_to_str_ja[];
|
|
extern "C" const char *const ptr_to_str_jj[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_k[];
|
|
extern "C" const char *const ptr_to_str_fu[];
|
|
extern "C" const char *const ptr_to_str_gu[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_i[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_i[];
|
|
extern "C" const char *const ptr_to_str_gw[];
|
|
extern "C" const char *const ptr_to_str_jc[];
|
|
extern "C" const char *const ptr_to_str_rv[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_8[];
|
|
extern "C" const char *const ptr_to_str_bop[];
|
|
extern "C" const char *const ptr_to_str_blg[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_9[];
|
|
extern "C" const char *const ptr_to_str_bny[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_l[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_m[];
|
|
extern "C" const char *const ptr_to_str_bam[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_n[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_12[];
|
|
extern "C" const char *const ptr_to_str_sg[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_13[];
|
|
extern "C" const char *const ptr_to_str_apx[];
|
|
extern "C" const NS ptr_to_str_u_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_c[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids[];
|
|
extern "C" const char *const ptr_to_str_apz[];
|
|
extern "C" const char *const ptr_to_str_bjf[];
|
|
extern "C" const char *const ptr_to_str_bjd[];
|
|
extern "C" const NS ptr_to_str_d_in_jni_ids_k[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_o[];
|
|
extern "C" const char *const ptr_to_str_xk[];
|
|
extern "C" const NS ptr_to_str_f_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids_d[];
|
|
extern "C" const char *const ptr_to_str_gr[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_14[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_p[];
|
|
extern "C" const char *const ptr_to_str_et[];
|
|
extern "C" const char *const ptr_to_str_fq[];
|
|
extern "C" const char *const ptr_to_str_bje[];
|
|
extern "C" const NS ptr_to_str_g_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_d[];
|
|
extern "C" const NS ptr_to_str_j_in_jni_ids_b[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_i[];
|
|
extern "C" const char *const ptr_to_str_ix[];
|
|
extern "C" const char *const ptr_to_str_dq[];
|
|
extern "C" const NS ptr_to_str_c_in_jni_ids_o[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_q[];
|
|
extern "C" const char *const ptr_to_str_dh[];
|
|
extern "C" const NS ptr_to_str_e_in_jni_ids_k[];
|
|
extern "C" const char *const ptr_to_str_zc[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_e[];
|
|
extern "C" const char *const ptr_to_str_rw[];
|
|
extern "C" const NS ptr_to_str_b_in_jni_ids_r[];
|
|
extern "C" const char *const ptr_to_str_bdc[];
|
|
extern "C" const NS ptr_to_str_h_in_jni_ids_a[];
|
|
extern "C" const NS ptr_to_str_i_in_jni_ids_f[];
|
|
extern "C" const char *const ptr_to_str_is[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_15[];
|
|
extern "C" const char *const ptr_to_str_it[];
|
|
extern "C" const char *const ptr_to_str_iy[];
|
|
extern "C" const char *const ptr_to_str_aap[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_16[];
|
|
extern "C" const char *const ptr_to_str_bdw[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_17[];
|
|
extern "C" const char *const ptr_to_str_bfi[];
|
|
extern "C" const NS ptr_to_unreferenced_rodata_in_jni_ids_e[];
|
|
extern "C" const char *const ptr_to_str_rh[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_19[];
|
|
extern "C" const char *const ptr_to_str_dd[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_20[];
|
|
extern "C" const char *const ptr_to_str_ir[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_21[];
|
|
extern "C" const char *const ptr_to_str_iq[];
|
|
extern "C" const NS ptr_to_str_a_in_jni_ids_22[];
|
|
extern "C" const char *const ptr_to_str_hb[];
|
|
extern "C" int load_all_jni_ids(JIds *ids, JLoad *l) {
|
|
void *x;
|
|
unsigned long long var, v3;
|
|
unsigned m;
|
|
bool mb;
|
|
int err;
|
|
const char *rcx, *rdx, *r8, *r9;
|
|
x = find_class(l->loader, l->env, str_java_util_list /* "java.util.List" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->List = (jclass)x;
|
|
err = 0x7d5;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_get /* "get" */, str_i_ljava_lang_object /* "(I)Ljava/lang/Object;" */);
|
|
ids->List_get = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->List, str_size /* "size" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->List_size = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->List, str_add /* "add" */, str_ljava_lang_object_z /* "(Ljava/lang/Object;)Z" */);
|
|
ids->List_add = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->List, str_remove /* "remove" */, str_ljava_lang_object_z /* "(Ljava/lang/Object;)Z" */);
|
|
ids->List_remove = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_java_util_map /* "java.util.Map" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Map = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_containskey /* "containsKey" */, str_ljava_lang_object_z /* "(Ljava/lang/Object;)Z" */);
|
|
ids->Map_containsKey = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Map, str_get /* "get" */, str_ljava_lang_object_ljava_lang_o /* "(Ljava/lang/Object;)Ljava/lang/Object;" */);
|
|
ids->Map_get = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_org_lwjgl_input_mouse /* "org.lwjgl.input.Mouse" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Mouse = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, str_isgrabbed /* "isGrabbed" */, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Mouse_isGrabbed = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Mouse, str_setgrabbed /* "setGrabbed" */, jni_signature_z_v /* "(Z)V" */);
|
|
ids->Mouse_setGrabbed = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Mouse, str_isbuttondown /* "isButtonDown" */, jni_signature_i_z /* "(I)Z" */);
|
|
ids->Mouse_isButtonDown = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Mouse, str_next_in_jni_ids /* "next" */, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Mouse_next = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Mouse, str_setcursorposition /* "setCursorPosition" */, jni_signature_ii_v /* "(II)V" */);
|
|
ids->Mouse_setCursorPosition = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_org_lwjgl_input_keyboard /* "org.lwjgl.input.Keyboard" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Keyboard = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, str_iskeydown /* "isKeyDown" */, jni_signature_i_z /* "(I)Z" */);
|
|
ids->Keyboard_isKeyDown = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Keyboard, str_next_in_jni_ids /* "next" */, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Keyboard_next = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Keyboard, str_geteventkey /* "getEventKey" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->Keyboard_getEventKey = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Keyboard, str_geteventkeystate /* "getEventKeyState" */, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Keyboard_getEventKeyState = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_org_lwjgl_opengl_display /* "org.lwjgl.opengl.Display" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Display = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, str_update /* "update" */, str_v_in_jni_ids /* "()V" */);
|
|
ids->Display_update = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Display, str_isactive /* "isActive" */, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Display_isActive = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)ids->Display, str_width /* "width" */, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Display_width = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)ids->Display, str_height /* "height" */, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Display_height = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)ids->Display, str_framebufferwidth /* "framebufferWidth" */, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Display_framebufferWidth = (jfieldID)x;
|
|
if (x) goto L_19051;
|
|
(*l->env)->ExceptionClear(l->env);
|
|
L_19051:
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)ids->Display, str_framebufferheight /* "framebufferHeight" */, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Display_framebufferHeight = (jfieldID)x;
|
|
if (x) goto L_1908a;
|
|
(*l->env)->ExceptionClear(l->env);
|
|
L_1908a:
|
|
if (ids->Display_framebufferWidth == 0) goto L_1909e;
|
|
if (ids->Display_framebufferHeight != 0) goto L_190ac;
|
|
L_1909e:
|
|
ids->Display_framebufferWidth = ids->Display_width;
|
|
ids->Display_framebufferHeight = ids->Display_height;
|
|
L_190ac:
|
|
x = find_class(l->loader, l->env, str_java_lang_object /* "java.lang.Object" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Object = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_hashcode /* "hashCode" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->Object_hashCode = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_java_security_secureclassloade /* "java.security.SecureClassLoader" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->SecureClassLoader = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_init_in_jni_ids /* "<init>" */, str_ljava_lang_classloader_v /* "(Ljava/lang/ClassLoader;)V" */);
|
|
ids->SecureClassLoader__init_ = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_io_netty_channel_channel /* "io.netty.channel.Channel" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Channel = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_pipeline /* "pipeline" */, str_lio_netty_channel_channelpipel /* "()Lio/netty/channel/ChannelPipeline;" */);
|
|
ids->Channel_pipeline = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_io_netty_channel_channelpipeli /* "io.netty.channel.ChannelPipeline" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ChannelPipeline = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_addbefore /* "addBefore" */, str_ljava_lang_string_ljava_lang_s);
|
|
ids->ChannelPipeline_addBefore = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ChannelPipeline, str_get /* "get" */, str_ljava_lang_class_lio_netty_cha /* "(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;" */);
|
|
ids->ChannelPipeline_get = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ChannelPipeline, str_remove /* "remove" */, str_ljava_lang_class_lio_netty_cha /* "(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;" */);
|
|
ids->ChannelPipeline_remove = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, str_java_lang_enum /* "java.lang.Enum" */);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Enum = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_ordinal /* "ordinal" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->Enum_ordinal = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
m = (unsigned)ids->names;
|
|
mb = m != 0;
|
|
var = (unsigned)ids->variant;
|
|
v3 = var * 3;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bao[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Minecraft = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)x, ptr_to_str_m[v3 + m].name, ptr_to_str_m[v3 + m].sig);
|
|
ids->Minecraft_theMinecraft = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
if ((unsigned)ids->variant == 0) goto L_194aa;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_h[v3 + m].name, ptr_to_str_h[v3 + m].sig);
|
|
ids->Minecraft_thePlayer = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_ad[v3 + m].name, ptr_to_str_ad[v3 + m].sig);
|
|
ids->Minecraft_renderViewEntity = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_aa[v3 + m].name, ptr_to_str_aa[v3 + m].sig);
|
|
ids->Minecraft_renderManager = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_ab[v3 + m].name, ptr_to_str_ab[v3 + m].sig);
|
|
ids->Minecraft_renderItem = (jfieldID)x;
|
|
if (x) goto L_19500;
|
|
goto L_1aff8;
|
|
L_194aa:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_h[v3 + m].name, ptr_to_str_h[v3 + m].sig);
|
|
ids->Minecraft_thePlayer = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_i[v3 + m].name, ptr_to_str_i[v3 + m].sig);
|
|
ids->Minecraft_renderViewEntity = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
L_19500:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_f[v3 + m].name, ptr_to_str_f[v3 + m].sig);
|
|
ids->Minecraft_theWorld = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_q[v3 + m].name, ptr_to_str_q[v3 + m].sig);
|
|
ids->Minecraft_timer = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_u[v3 + m].name, ptr_to_str_u[v3 + m].sig);
|
|
ids->Minecraft_gameSettings = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_x[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->Minecraft_inGameHasFocus = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_t[v3 + m].name, ptr_to_str_t[v3 + m].sig);
|
|
ids->Minecraft_objectMouseOver = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_u_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Minecraft_leftClickCounter = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_ad_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Minecraft_rightClickDelayTimer = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_n[v3 + m].name, ptr_to_str_n[v3 + m].sig);
|
|
ids->Minecraft_currentScreen = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_r[v3 + m].name, ptr_to_str_r[v3 + m].sig);
|
|
ids->Minecraft_ingameGUI = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_d[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Minecraft_displayWidth = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_e[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Minecraft_displayHeight = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_l[v3 + m].name, ptr_to_str_l[v3 + m].sig);
|
|
ids->Minecraft_renderEngine = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_g[v3 + m].name, ptr_to_str_g[v3 + m].sig);
|
|
ids->Minecraft_renderGlobal = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_p[v3 + m].name, ptr_to_str_p[v3 + m].sig);
|
|
ids->Minecraft_entityRenderer = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Minecraft, ptr_to_str_c[v3 + m].name, ptr_to_str_c[v3 + m].sig);
|
|
ids->Minecraft_playerController = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Minecraft, ptr_to_str_v[v3 + m].name, ptr_to_str_v[v3 + m].sig);
|
|
ids->Minecraft_getNetHandler = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Minecraft, ptr_to_str_a[v3 + m].name, str_ljava_lang_runnable_lcom_googl /* "(Ljava/lang/Runnable;)Lcom/google/common/util/concurrent/ListenableFuture;" */);
|
|
ids->Minecraft_addScheduledTask = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Minecraft, ptr_to_str_al[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->Minecraft_clickMouse = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Minecraft, ptr_to_str_am[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->Minecraft_rightClickMouse = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, ptr_to_str_sa[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Entity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_s[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_posX = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_t_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_posY = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_u_in_jni_ids_a[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_posZ = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_p_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_prevPosX = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_q_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_prevPosY = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_r_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_prevPosZ = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_y[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Entity_rotationYaw = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_z[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Entity_rotationPitch = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_a_in_jni_ids_j[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Entity_prevRotationYaw = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_b[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Entity_prevRotationPitch = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_v_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_motionX = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_unreferenced_rodata_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_motionY = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_x_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Entity_motionZ = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_c_in_jni_ids_j[v3 + m].name, ptr_to_str_c_in_jni_ids_j[v3 + m].sig);
|
|
ids->Entity_boundingBox = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_aa_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Entity_ticksExisted = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_c_in_jni_ids_p[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Entity_entityId = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_ar[v3 + m].name, str_ljava_util_uuid /* "Ljava/util/UUID;" */);
|
|
ids->Entity_uniqueId = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_d_in_jni_ids_j[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->Entity_onGround = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_k[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->Entity_isDead = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_r_in_jni_ids_a[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Entity_fallDistance = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Entity, ptr_to_str_m_in_jni_ids[v3 + m].name, ptr_to_str_m_in_jni_ids[v3 + m].sig);
|
|
ids->Entity_ridingEntity = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_ao[v3 + m].name, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Entity_isSprinting = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_c_in_jni_ids_q[v3 + m].name, jni_signature_z_v /* "(Z)V" */);
|
|
ids->Entity_setSprinting = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_an[v3 + m].name, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Entity_isSneaking = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_c_in_jni_ids_r[v3 + m].name, ptr_to_str_c_in_jni_ids_r[v3 + m].sig);
|
|
ids->Entity_getFormattedCommandSenderName = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_b_in_jni_ids_j[v3 + m].name, str_ljava_lang_string /* "()Ljava/lang/String;" */);
|
|
ids->Entity_getCommandSenderName = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_c_in_jni_ids_s[v3 + m].name, jni_signature_ff_v /* "(FF)V" */);
|
|
ids->Entity_setAngles = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_a_in_jni_ids_u[v3 + m].name, str_fff_v /* "(FFF)V" */);
|
|
ids->Entity_moveFlying = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Entity, ptr_to_str_r_in_jni_ids_b[v3 + m].name, str_z_in_jni_ids /* "()Z" */);
|
|
ids->Entity_canBeCollidedWith = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ahb[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->World = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_h_in_jni_ids_b[v3 + m].name, str_ljava_util_list /* "Ljava/util/List;" */);
|
|
ids->World_playerEntities = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->World, ptr_to_str_e_in_jni_ids_j[v3 + m].name, str_ljava_util_list /* "Ljava/util/List;" */);
|
|
ids->World_loadedEntityList = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->World, ptr_to_str_g_in_jni_ids_e[v3 + m].name, str_ljava_util_list /* "Ljava/util/List;" */);
|
|
ids->World_loadedTileEntityList = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->World, ptr_to_str_v_in_jni_ids_a[v3 + m].name, ptr_to_str_v_in_jni_ids_a[v3 + m].sig);
|
|
ids->World_chunkProvider = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_a_in_jni_ids_7[v3 + m].name, ptr_to_str_a_in_jni_ids_7[v3 + m].sig);
|
|
ids->World_getEntityByID = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_a_in_jni_ids_18[v3 + m].name, ptr_to_str_a_in_jni_ids_18[v3 + m].sig);
|
|
ids->World_rayTraceBlocks = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_h_in_jni_ids_c[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->World_updateEntities = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_e_in_jni_ids_l[v3 + m].name, ptr_to_str_e_in_jni_ids_l[v3 + m].sig);
|
|
ids->World_getChunkFromChunkCoords = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_c_in_jni_ids_t[v3 + m].name, str_iiiiii_v /* "(IIIIII)V" */);
|
|
ids->World_markBlockRangeForRenderUpdate = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
if ((unsigned)ids->variant == 0) goto L_1a286;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_p_in_jni_ids_a[v3 + m].name, ptr_to_str_p_in_jni_ids_a[v3 + m].sig);
|
|
ids->World_getBlockState = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_a_in_jni_ids_23[v3 + m].name, ptr_to_str_a_in_jni_ids_23[v3 + m].sig);
|
|
ids->World_setBlockState = (jmethodID)x;
|
|
if (x) goto L_1a2e3;
|
|
goto L_1aff8;
|
|
L_1a286:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_a_in_jni_ids_24[v3 + m].name, ptr_to_str_a_in_jni_ids_24[v3 + m].sig);
|
|
ids->World_getBlock = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->World, ptr_to_str_d_in_jni_ids_l[v3 + m].name, ptr_to_str_d_in_jni_ids_l[v3 + m].sig);
|
|
ids->World_setBlock = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
L_1a2e3:
|
|
x = find_class(l->loader, l->env, ptr_to_str_bbr[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Timer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_c_in_jni_ids_u[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Timer_renderPartialTicks = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Timer, ptr_to_str_d_in_jni_ids_m[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Timer_timerSpeed = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Timer, ptr_to_str_e_in_jni_ids_m[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->Timer_elapsedPartialTicks = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Timer, ptr_to_str_b_in_jni_ids_s[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Timer_elapsedTicks = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bbj[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GameSettings = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_25[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->GameSettings_mouseSensitivity = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->GameSettings, ptr_to_str_as[v3 + m].name, ptr_to_str_as[v3 + m].sig);
|
|
ids->GameSettings_keyBindings = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->GameSettings, ptr_to_str_aw[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->GameSettings_thirdPersonView = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, ptr_to_str_azu[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->MovingObjectPosition = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
if (*(unsigned char *)&ids->hasBlockPos == 0) goto L_1a563;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_26[v3 + m].name, str_lnet_minecraft_util_movingobje_in_jni_ids /* "Lnet/minecraft/util/MovingObjectPosition_MovingObjectType;" */);
|
|
goto L_1a57d;
|
|
L_1a563:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_26[v3 + m].name, ptr_to_str_a_in_jni_ids_26[v3 + m].sig);
|
|
L_1a57d:
|
|
ids->MovingObjectPosition_typeOfHit = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_f_in_jni_ids_b[v3 + m].name, ptr_to_str_f_in_jni_ids_b[v3 + m].sig);
|
|
ids->MovingObjectPosition_hitVec = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_g_in_jni_ids_f[v3 + m].name, ptr_to_str_g_in_jni_ids_f[v3 + m].sig);
|
|
ids->MovingObjectPosition_entityHit = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
if ((unsigned)ids->variant == 0) goto L_1a676;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_b_in_jni_ids_t[v3 + m].name, ptr_to_str_b_in_jni_ids_t[v3 + m].sig);
|
|
ids->MovingObjectPosition_sideHit = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_e_in_jni_ids_n[v3 + m].name, ptr_to_str_e_in_jni_ids_n[v3 + m].sig);
|
|
ids->MovingObjectPosition_blockPos = (jfieldID)x;
|
|
if (x) goto L_1a741;
|
|
goto L_1aff8;
|
|
L_1a676:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_e_in_jni_ids_o[v3 + m].name, ptr_to_str_e_in_jni_ids_o[v3 + m].sig);
|
|
ids->MovingObjectPosition_sideHitIndex = (void *)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_b_in_jni_ids_u[v3 + m].name, ptr_to_str_b_in_jni_ids_u[v3 + m].sig);
|
|
ids->MovingObjectPosition_blockX = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_c_in_jni_ids_v[v3 + m].name, ptr_to_str_c_in_jni_ids_v[v3 + m].sig);
|
|
ids->MovingObjectPosition_blockY = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->MovingObjectPosition, ptr_to_str_d_in_jni_ids_n[v3 + m].name, ptr_to_str_d_in_jni_ids_n[v3 + m].sig);
|
|
ids->MovingObjectPosition_blockZ = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
L_1a741:
|
|
if (!m) goto L_1a769;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->MovingObjectPosition, str_init_in_jni_ids /* "<init>" */, str_lnet_minecraft_entity_entity_l /* "(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Vec3;)V" */);
|
|
goto L_1a7a4;
|
|
L_1a769:
|
|
if (var == 0) goto L_1a794;
|
|
r9 = (const char *)str_lpk_laui_v /* "(Lpk;Laui;)V" */;
|
|
goto L_1a7a2;
|
|
L_1a794:
|
|
r9 = (const char *)str_lsa_lazw_v /* "(Lsa;Lazw;)V" */;
|
|
L_1a7a2:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->MovingObjectPosition, str_init_in_jni_ids /* "<init>" */, r9);
|
|
L_1a7a4:
|
|
ids->MovingObjectPosition__init_ = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
if ((unsigned)ids->variant == 0) goto L_1a831;
|
|
x = find_class(l->loader, l->env, ptr_to_str_alz[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->_init_ = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_c_in_jni_ids[v3 + m].name, ptr_to_str_c_in_jni_ids[v3 + m].sig);
|
|
ids->_init__getBlock = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
L_1a831:
|
|
x = find_class(l->loader, l->env, ptr_to_str_aji[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Block = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_b_in_jni_ids_v[v3 + m].name, ptr_to_str_b_in_jni_ids_v[v3 + m].sig);
|
|
ids->Block_getIdFromBlock = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Block, ptr_to_str_a_in_jni_ids[v3 + m].name, ptr_to_str_a_in_jni_ids[v3 + m].sig);
|
|
ids->Block_getBlockFromItem = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
if ((unsigned)ids->variant == 0) goto L_1aa00;
|
|
x = find_class(l->loader, l->env, ptr_to_str_cj[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->BlockPos = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_init_in_jni_ids /* "<init>" */, str_iii_v /* "(III)V" */);
|
|
ids->BlockPos__init_ = (jmethodID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->BlockPos, ptr_to_str_a_in_jni_ids_a[v3 + m].name, ptr_to_str_a_in_jni_ids_a[v3 + m].sig);
|
|
ids->BlockPos_a = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->BlockPos, ptr_to_str_c_in_jni_ids_a[v3 + m].name, ptr_to_str_c_in_jni_ids_a[v3 + m].sig);
|
|
ids->BlockPos_c = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->BlockPos, ptr_to_str_d_in_jni_ids_o[v3 + m].name, ptr_to_str_d_in_jni_ids_o[v3 + m].sig);
|
|
ids->BlockPos_d = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
L_1aa00:
|
|
x = find_class(l->loader, l->env, ptr_to_str_bal[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->KeyBinding = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_h_in_jni_ids_d[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->KeyBinding_pressed = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->KeyBinding, ptr_to_str_i_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->KeyBinding_pressTime = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->KeyBinding, ptr_to_str_g_in_jni_ids_g[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->KeyBinding_keyCode = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = find_class(l->loader, l->env, ptr_to_str_azt[v3 + mb]);
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->AxisAlignedBB = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_b[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_minX = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_b_in_jni_ids_w[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_minY = (jfieldID)x;
|
|
if (!x) goto L_1aff8;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_c_in_jni_ids_b[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_minZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_d_in_jni_ids_p[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_maxX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_e_in_jni_ids_p[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_maxY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_f_in_jni_ids_c[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->AxisAlignedBB_maxZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->AxisAlignedBB, ptr_to_str_a_in_jni_ids_c[v3 + m].name, ptr_to_str_a_in_jni_ids_c[v3 + m].sig);
|
|
ids->AxisAlignedBB_calculateIntercept = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->AxisAlignedBB, str_init_in_jni_ids /* "<init>" */, str_dddddd_v /* "(DDDDDD)V" */);
|
|
ids->AxisAlignedBB__init_ = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bex[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GuiContainer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_u_in_jni_ids_b[v3 + m].name, ptr_to_str_u_in_jni_ids_b[v3 + m].sig);
|
|
ids->GuiContainer_theSlot = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->GuiContainer, ptr_to_str_j[v3 + m].name, str_j_in_jni_ids /* "J" */);
|
|
ids->GuiContainer_lastClickTime = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->GuiContainer, ptr_to_str_a_in_jni_ids_d[v3 + m].name, ptr_to_str_a_in_jni_ids_d[v3 + m].sig);
|
|
ids->GuiContainer_handleMouseClick = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_sv[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityLivingBase = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_be[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityLivingBase_moveForward = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bd[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityLivingBase_moveStrafing = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_ax[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityLivingBase_hurtTime = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_ay[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityLivingBase_maxHurtTime = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bo[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityLivingBase_lastAttackerTime = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bp[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityLivingBase_landMovementFactor = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bq[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityLivingBase_jumpTicks = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
if ((unsigned)ids->variant == 0) goto L_1b012;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_a_in_jni_ids_e[v3 + m].name, ptr_to_str_a_in_jni_ids_e[v3 + m].sig);
|
|
ids->EntityLivingBase_rayTrace = (void *)x;
|
|
if (!x) goto L_1ce81;
|
|
r9 = (const char *)ptr_to_str_e_in_jni_ids_q;
|
|
goto L_1b04c;
|
|
L_1aff8:
|
|
err = 0x7d4;
|
|
L_1affe:
|
|
return err;
|
|
L_1b012:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_a_in_jni_ids_f[v3 + m].name, ptr_to_str_a_in_jni_ids_f[v3 + m].sig);
|
|
ids->EntityLivingBase_rayTrace = (void *)x;
|
|
if (!x) goto L_1ce81;
|
|
r9 = (const char *)ptr_to_str_l_in_jni_ids;
|
|
L_1b04c:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ((const NS *)r9)[v3 + m].name, ((const NS *)r9)[v3 + m].sig);
|
|
ids->EntityLivingBase_getPosition = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_as_in_jni_ids[v3 + m].name, str_f_in_jni_ids_a /* "()F" */);
|
|
ids->EntityLivingBase_getHealth = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_ba[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->EntityLivingBase_swingItem = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bt[v3 + m].name, ptr_to_str_bt[v3 + m].sig);
|
|
ids->EntityLivingBase_getTeam = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_ay_in_jni_ids[v3 + m].name, str_f_in_jni_ids_a /* "()F" */);
|
|
ids->EntityLivingBase_getMaxHealth = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_b_in_jni_ids_x[v3 + m].name, ptr_to_str_b_in_jni_ids_x[v3 + m].sig);
|
|
ids->EntityLivingBase_getActivePotionEffect = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityLivingBase, ptr_to_str_bj[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->EntityLivingBase_jump = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_yz[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityPlayer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_bm[v3 + m].name, ptr_to_str_bm[v3 + m].sig);
|
|
ids->EntityPlayer_inventory = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_g_in_jni_ids_h[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityPlayer_itemInUseCount = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_bn[v3 + m].name, ptr_to_str_bn[v3 + m].sig);
|
|
ids->EntityPlayer_inventoryContainer = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_ba_in_jni_ids[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->EntityPlayer_sleeping = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_bi[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayer_speedOnGround = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_d_in_jni_ids_q[v3 + m].name, ptr_to_str_d_in_jni_ids_q[v3 + m].sig);
|
|
ids->EntityPlayer_isInvisibleToPlayer = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_by[v3 + m].name, str_z_in_jni_ids /* "()Z" */);
|
|
ids->EntityPlayer_isUsingItem = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_bs[v3 + m].name, str_f_in_jni_ids_a /* "()F" */);
|
|
ids->EntityPlayer_getAbsorptionAmount = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityPlayer, ptr_to_str_q_in_jni_ids_a[v3 + m].name, ptr_to_str_q_in_jni_ids_a[v3 + m].sig);
|
|
ids->EntityPlayer_getEquipmentInSlot = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_yx[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->InventoryPlayer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_g[v3 + m].name, ptr_to_str_a_in_jni_ids_g[v3 + m].sig);
|
|
ids->InventoryPlayer_mainInventory = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->InventoryPlayer, ptr_to_str_c_in_jni_ids_c[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->InventoryPlayer_currentItem = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->InventoryPlayer, ptr_to_str_g_in_jni_ids_i[v3 + m].name, ptr_to_str_g_in_jni_ids_i[v3 + m].sig);
|
|
ids->InventoryPlayer_itemStack = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_add[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ItemStack = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
libc_snprintf(jni_item_stack_ctor_signature, 0x64, fmt_l_str_v /* "(L%s;)V" */, ptr_to_str_adb[v3 + mb]);
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, str_init_in_jni_ids /* "<init>" */, jni_item_stack_ctor_signature);
|
|
ids->ItemStack__init_ = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_b_in_jni_ids_y[v3 + m].name, ptr_to_str_b_in_jni_ids_y[v3 + m].sig);
|
|
ids->ItemStack_getItem = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_a_in_jni_ids_h[v3 + m].name, ptr_to_str_a_in_jni_ids_h[v3 + m].sig);
|
|
ids->ItemStack_getStrVsBlock = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_r_in_jni_ids_c[v3 + m].name, ptr_to_str_r_in_jni_ids_c[v3 + m].sig);
|
|
ids->ItemStack_getEnchantmentTagList = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_e_in_jni_ids_r[v3 + m].name, str_i_in_jni_ids /* "()I" */);
|
|
ids->ItemStack_getMaxStackSize = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_a_in_jni_ids_i[v3 + m].name, ptr_to_str_a_in_jni_ids_i[v3 + m].sig);
|
|
ids->ItemStack_areItemStackTagsEqual = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ItemStack, ptr_to_str_u_in_jni_ids_c[v3 + m].name, str_z_in_jni_ids /* "()Z" */);
|
|
ids->ItemStack_hasDisplayName = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->ItemStack, ptr_to_str_b_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->ItemStack_stackSize = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->ItemStack, ptr_to_str_f_in_jni_ids_d[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->ItemStack_metadata = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_adb[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Item = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_b_in_jni_ids_a[v3 + m].name, ptr_to_str_b_in_jni_ids_a[v3 + m].sig);
|
|
ids->Item_getIdFromItem = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->Item, ptr_to_str_d_in_jni_ids_r[v3 + m].name, ptr_to_str_d_in_jni_ids_r[v3 + m].sig);
|
|
ids->Item_getItemById = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_azw[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Vec3 = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_k[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Vec3_xCoord = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Vec3, ptr_to_str_b_in_jni_ids_b[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Vec3_yCoord = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Vec3, ptr_to_str_c_in_jni_ids_d[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->Vec3_zCoord = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Vec3, str_init_in_jni_ids /* "<init>" */, str_ddd_v /* "(DDD)V" */);
|
|
ids->Vec3__init_ = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_azy[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ScorePlayerTeam = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_e_in_jni_ids[v3 + m].name, str_ljava_lang_string_in_jni_ids /* "Ljava/lang/String;" */);
|
|
ids->ScorePlayerTeam_Ljava_lang_String_ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bjb[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->NetHandlerPlayClient = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_i_in_jni_ids_a[v3 + m].name, str_ljava_util_map /* "Ljava/util/Map;" */);
|
|
ids->NetHandlerPlayClient_playerInfoMap = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->NetHandlerPlayClient, ptr_to_str_e_in_jni_ids_a[v3 + m].name, ptr_to_str_e_in_jni_ids_a[v3 + m].sig);
|
|
ids->NetHandlerPlayClient_netManager = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_fj[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->IChatComponent = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_d_in_jni_ids[v3 + m].name, str_ljava_lang_string /* "()Ljava/lang/String;" */);
|
|
ids->IChatComponent_getFormattedText = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_fk[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->IChatComponent_Serializer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_l[v3 + m].name, ptr_to_str_a_in_jni_ids_l[v3 + m].sig);
|
|
ids->IChatComponent_Serializer_jsonToComponent = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_aay[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Slot = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_g_in_jni_ids_j[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Slot_slotNumber = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->Slot, ptr_to_str_d_in_jni_ids_a[v3 + m].name, ptr_to_str_d_in_jni_ids_a[v3 + m].sig);
|
|
ids->Slot_getStack = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_rb[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->IInventory = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_m[v3 + m].name, ptr_to_str_a_in_jni_ids_m[v3 + m].sig);
|
|
ids->IInventory_getStackInSlot = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ej[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->NetworkManager = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_m_in_jni_ids_a[v3 + m].name, str_lio_netty_channel_channel /* "Lio/netty/channel/Channel;" */);
|
|
ids->NetworkManager_Lio_netty_channel_Channel_ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
if (var == 0) goto L_1bd0a;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->NetworkManager, ptr_to_str_a_in_jni_ids_o[v3 + m].name, ptr_to_str_a_in_jni_ids_o[v3 + m].sig);
|
|
ids->NetworkManager_sendPacket = (void *)x;
|
|
if (x) goto L_1bd30;
|
|
goto L_1ce81;
|
|
L_1bd0a:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->NetworkManager, ptr_to_str_a_in_jni_ids_n[v3 + m].name, ptr_to_str_a_in_jni_ids_n[v3 + m].sig);
|
|
ids->NetworkManager_scheduleOutboundPacket = (void *)x;
|
|
if (!x) goto L_1ce81;
|
|
L_1bd30:
|
|
x = find_class(l->loader, l->env, ptr_to_str_jd[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C03PacketPlayer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_h_in_jni_ids_e[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->C03PacketPlayer_moving = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->C03PacketPlayer, ptr_to_str_g_in_jni_ids_k[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->C03PacketPlayer_onGround = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->C03PacketPlayer, ptr_to_str_a_in_jni_ids_p[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->C03PacketPlayer_a = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->C03PacketPlayer, ptr_to_str_b_in_jni_ids_c[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->C03PacketPlayer_b = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->C03PacketPlayer, ptr_to_str_c_in_jni_ids_e[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->C03PacketPlayer_c = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ji[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C07PacketPlayerDigging = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_e_in_jni_ids_b[v3 + m].name, ptr_to_str_e_in_jni_ids_b[v3 + m].sig);
|
|
ids->C07PacketPlayerDigging_status = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_jo[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C08PacketPlayerBlockPlacement = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_e_in_jni_ids_c[v3 + m].name, ptr_to_str_e_in_jni_ids_c[v3 + m].sig);
|
|
ids->C08PacketPlayerBlockPlacement_stack = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_aor[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->TileEntity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_h_in_jni_ids_f[v3 + m].name, ptr_to_str_h_in_jni_ids_f[v3 + m].sig);
|
|
ids->TileEntity_blockType = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
if ((unsigned)ids->variant == 0) goto L_1c03a;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->TileEntity, ptr_to_str_c_in_jni_ids_f[v3 + m].name, ptr_to_str_c_in_jni_ids_f[v3 + m].sig);
|
|
ids->TileEntity_pos = (void *)x;
|
|
if (x) goto L_1c0ce;
|
|
goto L_1ce81;
|
|
L_1c03a:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->TileEntity, ptr_to_str_c_in_jni_ids_g[v3 + m].name, ptr_to_str_c_in_jni_ids_g[v3 + m].sig);
|
|
ids->TileEntity_xCoord = (void *)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->TileEntity, ptr_to_str_d_in_jni_ids_b[v3 + m].name, ptr_to_str_d_in_jni_ids_b[v3 + m].sig);
|
|
ids->TileEntity_yCoord = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->TileEntity, ptr_to_str_e_in_jni_ids_d[v3 + m].name, ptr_to_str_e_in_jni_ids_d[v3 + m].sig);
|
|
ids->TileEntity_zCoord = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
L_1c0ce:
|
|
x = find_class(l->loader, l->env, ptr_to_str_hy[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S12PacketEntityVelocity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_q[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S12PacketEntityVelocity_entityID = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S12PacketEntityVelocity, ptr_to_str_b_in_jni_ids_d[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S12PacketEntityVelocity_motionX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S12PacketEntityVelocity, ptr_to_str_c_in_jni_ids_h[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S12PacketEntityVelocity_motionY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S12PacketEntityVelocity, ptr_to_str_d_in_jni_ids_c[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S12PacketEntityVelocity_motionZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bnn[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RenderManager = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
if ((unsigned)ids->variant != 0) {
|
|
rdx = (const char *)x;
|
|
goto L_1c276;
|
|
}
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_r[v3 + m].name, ptr_to_str_a_in_jni_ids_r[v3 + m].sig);
|
|
ids->RenderManager_instance = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
rdx = (const char *)ids->RenderManager;
|
|
L_1c276:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)rdx, ptr_to_unreferenced_rodata_in_jni_ids_a[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->RenderManager_playerViewX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->RenderManager, ptr_to_str_j_in_jni_ids[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->RenderManager_playerViewY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->RenderManager, ptr_to_str_r_in_jni_ids_d[v3 + m].name, ptr_to_str_r_in_jni_ids_d[v3 + m].sig);
|
|
ids->RenderManager_textRenderer = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_hf[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S14PacketEntity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_s[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S14PacketEntity_entityId = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_b_in_jni_ids_e[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S14PacketEntity_posX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_c_in_jni_ids_i[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S14PacketEntity_posY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_d_in_jni_ids_d[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S14PacketEntity_posZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_e_in_jni_ids_e[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S14PacketEntity_yaw = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_f_in_jni_ids_e[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S14PacketEntity_pitch = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S14PacketEntity, ptr_to_str_g_in_jni_ids_l[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->S14PacketEntity_g = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ik[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S18PacketEntityTeleport = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_t[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S18PacketEntityTeleport_entityId = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S18PacketEntityTeleport, ptr_to_str_b_in_jni_ids_f[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S18PacketEntityTeleport_posX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S18PacketEntityTeleport, ptr_to_str_c_in_jni_ids_k[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S18PacketEntityTeleport_posY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S18PacketEntityTeleport, ptr_to_str_d_in_jni_ids_e[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S18PacketEntityTeleport_posZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S18PacketEntityTeleport, ptr_to_str_e_in_jni_ids_f[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S18PacketEntityTeleport_yaw = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S18PacketEntityTeleport, ptr_to_str_f_in_jni_ids_f[v3 + m].name, str_b_in_jni_ids /* "B" */);
|
|
ids->S18PacketEntityTeleport_pitch = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_gt[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S19PacketEntityStatus = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_v[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->S19PacketEntityStatus_entityId = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bll[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityOtherPlayerMP = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_c_in_jni_ids_l[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->EntityOtherPlayerMP_otherPlayerMPPosRotationIncrements = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityOtherPlayerMP, ptr_to_str_d_in_jni_ids_f[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->EntityOtherPlayerMP_otherPlayerMPX = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityOtherPlayerMP, ptr_to_str_e_in_jni_ids_g[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->EntityOtherPlayerMP_otherPlayerMPY = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityOtherPlayerMP, ptr_to_str_f_in_jni_ids_g[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->EntityOtherPlayerMP_otherPlayerMPZ = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityOtherPlayerMP, ptr_to_str_g_in_jni_ids[v3 + m].name, str_d_in_jni_ids /* "D" */);
|
|
ids->EntityOtherPlayerMP_otherPlayerMPYaw = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_blk[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityPlayerSP = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_g_in_jni_ids_a[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_renderArmYaw = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_h_in_jni_ids_g[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_renderArmPitch = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_i_in_jni_ids_b[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_prevRenderArmYaw = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_bl[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_prevRenderArmPitch = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_bm_in_jni_ids[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_timeInPortal = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_bn_in_jni_ids[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->EntityPlayerSP_prevTimeInPortal = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityPlayerSP, ptr_to_str_a_in_jni_ids_w[v3 + m].name, ptr_to_str_a_in_jni_ids_w[v3 + m].sig);
|
|
ids->EntityPlayerSP_addChatMessage = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bfu[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GuiInventory = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ib[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S06PacketUpdateHealth = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_hc[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S29PacketSoundEffect = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_blt[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityRenderer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_x[v3 + m].name, jni_signature_f_v /* "(F)V" */);
|
|
ids->EntityRenderer_getMouseOver = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityRenderer, ptr_to_str_b_in_jni_ids_g[v3 + m].name, jni_signature_fi_v /* "(FI)V" */);
|
|
ids->EntityRenderer_renderHand = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityRenderer, ptr_to_str_h_in_jni_ids_h[v3 + m].name, jni_signature_f_v /* "(F)V" */);
|
|
ids->EntityRenderer_orientCamera = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityRenderer, ptr_to_str_a_in_jni_ids_y[v3 + m].name, jni_signature_fz_f /* "(FZ)F" */);
|
|
ids->EntityRenderer_getFOVModifier = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
if (var == 0) goto L_1cc3a;
|
|
r9 = (const char *)ptr_to_str_a_in_jni_ids_z;
|
|
goto L_1cc41;
|
|
L_1cc3a:
|
|
r9 = (const char *)ptr_to_str_b_in_jni_ids_h;
|
|
L_1cc41:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityRenderer, ((const NS *)r9)[v3 + m].name, ((const NS *)r9)[v3 + m].sig);
|
|
ids->EntityRenderer_updateCameraAndRender = (void *)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bmg[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Framebuffer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_2[v3 + m].name, jni_signature_z_v /* "(Z)V" */);
|
|
ids->Framebuffer_bindFramebuffer = (jmethodID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bma[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RenderGlobal = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_r_in_jni_ids_e[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->RenderGlobal_displayListEntitiesDirty = (jfieldID)x;
|
|
if (!x) goto L_1ce81;
|
|
x = find_class(l->loader, l->env, ptr_to_str_baj[v3 + mb]);
|
|
if (!x) goto L_1ce81;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ActiveRenderInfo = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_3[v3 + m].name, ptr_to_str_a_in_jni_ids_3[v3 + m].sig);
|
|
ids->ActiveRenderInfo_updateRenderInfo = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_boh[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RendererLivingEntity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
if (!m) goto L_1ce8c;
|
|
ids->RendererLivingEntity_renderNameMethodSignature = (void *)str_lnet_minecraft_entity_entityli_in_jni_ids /* "(Lnet/minecraft/entity/EntityLivingBase;DDD)V" */;
|
|
ids->RendererLivingEntity_canRenderNameMethodSignature = (void *)str_lnet_minecraft_entity_entityli_in_jni_ids_a /* "(Lnet/minecraft/entity/EntityLivingBase;)Z" */;
|
|
ids->RendererLivingEntity_doRenderMethodSignature = (void *)str_lnet_minecraft_entity_entityli_in_jni_ids_b /* "(Lnet/minecraft/entity/EntityLivingBase;DDDFF)V" */;
|
|
if (m != 1) goto L_1cf08;
|
|
ids->RendererLivingEntity_renderNameMethodName = (void *)((var == 0) ? str_passspecialrender /* "passSpecialRender" */ : str_rendername /* "renderName" */);
|
|
ids->RendererLivingEntity_canRenderNameMethodName = (void *)str_canrendername /* "canRenderName" */;
|
|
rcx = (const char *)str_dorender /* "doRender" */;
|
|
r8 = (const char *)(var == 0) ? str_passspecialrender /* "passSpecialRender" */ : str_rendername /* "renderName" */;
|
|
goto L_1cf46;
|
|
L_1ce81:
|
|
err = 0x7d4;
|
|
goto L_1affe;
|
|
L_1ce8c:
|
|
ids->RendererLivingEntity_renderNameMethodName = (void *)str_b_in_jni_ids_a /* "b" */;
|
|
ids->RendererLivingEntity_renderNameMethodSignature = (void *)((var == 0) ? str_lsv_ddd_v /* "(Lsv;DDD)V" */ : str_lpr_ddd_v /* "(Lpr;DDD)V" */);
|
|
ids->RendererLivingEntity_canRenderNameMethodName = (void *)((var == 0) ? str_b_in_jni_ids_a /* "b" */ : str_a_in_jni_ids /* "a" */);
|
|
ids->RendererLivingEntity_canRenderNameMethodSignature = (void *)((var == 0) ? str_lsv_z /* "(Lsv;)Z" */ : str_lpr_z /* "(Lpr;)Z" */);
|
|
ids->RendererLivingEntity_doRenderMethodName = (void *)str_a_in_jni_ids /* "a" */;
|
|
ids->RendererLivingEntity_doRenderMethodSignature = (void *)((var == 0) ? str_lsv_dddff_v /* "(Lsv;DDDFF)V" */ : str_lpr_dddff_v /* "(Lpr;DDDFF)V" */);
|
|
r9 = (const char *)(var == 0) ? str_lsv_ddd_v /* "(Lsv;DDD)V" */ : str_lpr_ddd_v /* "(Lpr;DDD)V" */;
|
|
r8 = (const char *)str_b_in_jni_ids_a /* "b" */;
|
|
goto L_1cf4d;
|
|
L_1cf08:
|
|
ids->RendererLivingEntity_renderNameMethodName = (void *)((var == 0) ? str_func_77033_b /* "func_77033_b" */ : str_func_177067_a /* "func_177067_a" */);
|
|
ids->RendererLivingEntity_canRenderNameMethodName = (void *)((var == 0) ? str_func_110813_b /* "func_110813_b" */ : str_func_177070_b /* "func_177070_b" */);
|
|
rcx = (const char *)str_func_76986_a /* "func_76986_a" */;
|
|
r8 = (const char *)(var == 0) ? str_func_77033_b /* "func_77033_b" */ : str_func_177067_a /* "func_177067_a" */;
|
|
L_1cf46:
|
|
ids->RendererLivingEntity_doRenderMethodName = (void *)rcx;
|
|
r9 = (const char *)str_lnet_minecraft_entity_entityli_in_jni_ids /* "(Lnet/minecraft/entity/EntityLivingBase;DDD)V" */;
|
|
r8 = (const char *)r8;
|
|
L_1cf4d:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, r8, r9);
|
|
ids->RendererLivingEntity_func_177067_a = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RendererLivingEntity, (const char *)ids->RendererLivingEntity_canRenderNameMethodName, (const char *)ids->RendererLivingEntity_canRenderNameMethodSignature);
|
|
ids->RendererLivingEntity_canRenderName = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RendererLivingEntity, (const char *)ids->RendererLivingEntity_doRenderMethodName, (const char *)ids->RendererLivingEntity_doRenderMethodSignature);
|
|
ids->RendererLivingEntity___2 = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bbu[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->FontRenderer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_4[v3 + m].name, str_ljava_lang_string_i /* "(Ljava/lang/String;)I" */);
|
|
ids->FontRenderer_getStringWidth = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
if (var == 0) goto L_1d3d2;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->FontRenderer, ptr_to_str_a_in_jni_ids_5[v3 + m].name, ptr_to_str_a_in_jni_ids_5[v3 + m].sig);
|
|
ids->FontRenderer_drawString = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bfl[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GlStateManager = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_l_in_jni_ids_a[v3 + m].name, ptr_to_str_l_in_jni_ids_a[v3 + m].sig);
|
|
ids->GlStateManager_enableBlend = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_unreferenced_rodata_in_jni_ids_b[v3 + m].name, ptr_to_unreferenced_rodata_in_jni_ids_b[v3 + m].sig);
|
|
ids->GlStateManager_disableBlend = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_j_in_jni_ids_a[v3 + m].name, ptr_to_str_j_in_jni_ids_a[v3 + m].sig);
|
|
ids->GlStateManager_enableDepth = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_i_in_jni_ids_c[v3 + m].name, ptr_to_str_i_in_jni_ids_c[v3 + m].sig);
|
|
ids->GlStateManager_disableDepth = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_e_in_jni_ids_h[v3 + m].name, ptr_to_str_e_in_jni_ids_h[v3 + m].sig);
|
|
ids->GlStateManager_enableLighting = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_f_in_jni_ids_h[v3 + m].name, ptr_to_str_f_in_jni_ids_h[v3 + m].sig);
|
|
ids->GlStateManager_disableLighting = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_unreferenced_rodata_in_jni_ids_c[v3 + m].name, ptr_to_unreferenced_rodata_in_jni_ids_c[v3 + m].sig);
|
|
ids->GlStateManager_enableTexture2D = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_x_in_jni_ids_a[v3 + m].name, ptr_to_str_x_in_jni_ids_a[v3 + m].sig);
|
|
ids->GlStateManager_disableTexture2D = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_o[v3 + m].name, ptr_to_str_o[v3 + m].sig);
|
|
ids->GlStateManager_enableCull = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_p_in_jni_ids_b[v3 + m].name, ptr_to_str_p_in_jni_ids_b[v3 + m].sig);
|
|
ids->GlStateManager_disableCull = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_d_in_jni_ids_g[v3 + m].name, ptr_to_str_d_in_jni_ids_g[v3 + m].sig);
|
|
ids->GlStateManager_enableAlpha = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_c_in_jni_ids_m[v3 + m].name, ptr_to_str_c_in_jni_ids_m[v3 + m].sig);
|
|
ids->GlStateManager_disableAlpha = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_b_in_jni_ids_i[v3 + m].name, ptr_to_str_b_in_jni_ids_i[v3 + m].sig);
|
|
ids->GlStateManager_blendFunc = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->GlStateManager, ptr_to_str_c_in_jni_ids_n[v3 + m].name, ptr_to_str_c_in_jni_ids_n[v3 + m].sig);
|
|
ids->GlStateManager_color = (jmethodID)x;
|
|
if (x) goto L_1d3f8;
|
|
goto L_1e9d9;
|
|
L_1d3d2:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->FontRenderer, ptr_to_str_a_in_jni_ids_6[v3 + m].name, ptr_to_str_a_in_jni_ids_6[v3 + m].sig);
|
|
ids->FontRenderer_drawString = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
L_1d3f8:
|
|
x = find_class(l->loader, l->env, ptr_to_str_ja[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C02PacketUseEntity = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_jj[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C0BPacketEntityAction = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_b_in_jni_ids_k[v3 + m].name, ptr_to_str_b_in_jni_ids_k[v3 + m].sig);
|
|
ids->C0BPacketEntityAction_Lis_a_ = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_fu[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S08PacketPlayerPosLook = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_gu[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S27PacketExplosion = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_f_in_jni_ids_i[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->S27PacketExplosion_f = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S27PacketExplosion, ptr_to_str_g_in_jni_ids_b[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->S27PacketExplosion_g = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S27PacketExplosion, ptr_to_str_h_in_jni_ids_i[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->S27PacketExplosion_h = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_gw[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S00PacketKeepAlive = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_jc[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C00PacketKeepAlive = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_rv[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Potion = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_8[v3 + m].name, ptr_to_str_a_in_jni_ids_8[v3 + m].sig);
|
|
ids->Potion_potionTypes = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bop[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RenderPlayer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
libc_snprintf(jni_render_method_signature, 0x64, str_l_s_dddff_v /* "(L%s;DDDFF)V" */, ptr_to_str_blg[v3 + mb]);
|
|
ids->RenderArrow_doRenderMethodName = (void *)(ptr_to_str_a_in_jni_ids_9[v3 + m].name);
|
|
ids->RenderArrow_doRenderMethodSignature = (void *)jni_render_method_signature;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RenderPlayer, ptr_to_str_a_in_jni_ids_9[v3 + m].name, jni_render_method_signature);
|
|
ids->RenderPlayer__L_s_DDDFF_V = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bny[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RenderItem = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_f_in_jni_ids[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->RenderItem_zLevel = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
if (var == 0) goto L_1d867;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RenderItem, ptr_to_str_b_in_jni_ids_l[v3 + m].name, ptr_to_str_b_in_jni_ids_l[v3 + m].sig);
|
|
ids->RenderItem__init_ = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
r9 = (const char *)ptr_to_str_a_in_jni_ids_10;
|
|
goto L_1d8d2;
|
|
L_1d867:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RenderItem, str_init_in_jni_ids /* "<init>" */, str_v_in_jni_ids /* "()V" */);
|
|
ids->RenderItem_init = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RenderItem, ptr_to_str_b_in_jni_ids_m[v3 + m].name, ptr_to_str_b_in_jni_ids_m[v3 + m].sig);
|
|
ids->RenderItem__init_ = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
r9 = (const char *)ptr_to_str_a_in_jni_ids_11;
|
|
L_1d8d2:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->RenderItem, ((const NS *)r9)[v3 + m].name, ((const NS *)r9)[v3 + m].sig);
|
|
ids->RenderItem_renderItemOverlayIntoGUI = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bam[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->RenderHelper = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_b_in_jni_ids_n[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->RenderHelper_enableStandardItemLighting = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)ids->RenderHelper, ptr_to_str_a_in_jni_ids_12[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->RenderHelper_disableStandardItemLighting = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_sg[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityList = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_13[v3 + m].name, ptr_to_str_a_in_jni_ids_13[v3 + m].sig);
|
|
ids->EntityList_getEntityID = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_apx[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->Chunk = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_u_in_jni_ids_d[v3 + m].name, ptr_to_str_u_in_jni_ids_d[v3 + m].sig);
|
|
ids->Chunk_storageArrays = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Chunk, ptr_to_str_g_in_jni_ids_c[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Chunk_xPosition = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->Chunk, ptr_to_str_h_in_jni_ids[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->Chunk_zPosition = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_apz[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ExtendedBlockStorage = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
if (var == 0) goto L_1db6e;
|
|
r9 = (const char *)ptr_to_str_d_in_jni_ids_h;
|
|
goto L_1db75;
|
|
L_1db6e:
|
|
r9 = (const char *)ptr_to_str_d_in_jni_ids_i;
|
|
L_1db75:
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ((const NS *)r9)[v3 + m].name, ((const NS *)r9)[v3 + m].sig);
|
|
ids->ExtendedBlockStorage_blockLSBArray = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bjf[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->WorldClient = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bjd[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ChunkProviderClient = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_d_in_jni_ids_k[v3 + m].name, str_ljava_util_list /* "Ljava/util/List;" */);
|
|
ids->ChunkProviderClient_chunkMapping = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->ChunkProviderClient, ptr_to_str_b_in_jni_ids_o[v3 + m].name, jni_signature_ii_v /* "(II)V" */);
|
|
ids->ChunkProviderClient_unloadChunk = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_xk[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityItem = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_f_in_jni_ids_a[v3 + m].name, ptr_to_str_f_in_jni_ids_a[v3 + m].sig);
|
|
ids->EntityItem_getEntityItem = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->EntityItem, ptr_to_unreferenced_rodata_in_jni_ids_d[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->EntityItem_searchForOtherItemsNearby = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_gr[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S3FPacketCustomPayload = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_14[v3 + m].name, str_ljava_lang_string_in_jni_ids /* "Ljava/lang/String;" */);
|
|
ids->S3FPacketCustomPayload_Ljava_lang_String_ = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->S3FPacketCustomPayload, ptr_to_str_b_in_jni_ids_p[v3 + m].name, ptr_to_str_b_in_jni_ids_p[v3 + m].sig);
|
|
ids->S3FPacketCustomPayload_data = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_et[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->PacketBuffer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_readablebytes /* "readableBytes" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->PacketBuffer_readableBytes = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->PacketBuffer, str_readerindex /* "readerIndex" */, str_i_in_jni_ids /* "()I" */);
|
|
ids->PacketBuffer_readerIndex = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->PacketBuffer, str_getbytes /* "getBytes" */, str_i_b_lio_netty_buffer_bytebuf /* "(I[B)Lio/netty/buffer/ByteBuf;" */);
|
|
ids->PacketBuffer_getBytes = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, str_java_util_uuid /* "java/util/UUID" */);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->UUID = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_getleastsignificantbits /* "getLeastSignificantBits" */, str_j_in_jni_ids_a /* "()J" */);
|
|
ids->UUID_getLeastSignificantBits = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->UUID, str_getmostsignificantbits /* "getMostSignificantBits" */, str_j_in_jni_ids_a /* "()J" */);
|
|
ids->UUID_getMostSignificantBits = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_fq[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ChatComponentText = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_init_in_jni_ids /* "<init>" */, str_ljava_lang_string_v /* "(Ljava/lang/String;)V" */);
|
|
ids->ChatComponentText__init_ = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bje[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->PlayerControllerMP = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_g_in_jni_ids_d[v3 + m].name, str_f_in_jni_ids /* "F" */);
|
|
ids->PlayerControllerMP_curBlockDamageMP = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->PlayerControllerMP, ptr_to_str_i_in_jni_ids_d[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->PlayerControllerMP_blockHitDelay = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)ids->PlayerControllerMP, ptr_to_str_j_in_jni_ids_b[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->PlayerControllerMP_isHittingBlock = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->PlayerControllerMP, ptr_to_str_e_in_jni_ids_i[v3 + m].name, str_v_in_jni_ids /* "()V" */);
|
|
ids->PlayerControllerMP_updateController = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ix[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C0EPacketClickWindow = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_dq[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->NBTTagList = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_c_in_jni_ids_o[v3 + m].name, str_i_in_jni_ids /* "()I" */);
|
|
ids->NBTTagList_tagCount = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->NBTTagList, ptr_to_str_b_in_jni_ids_q[v3 + m].name, ptr_to_str_b_in_jni_ids_q[v3 + m].sig);
|
|
ids->NBTTagList_getCompoundTagAt = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_dh[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->NBTTagCompound = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_e_in_jni_ids_k[v3 + m].name, str_ljava_lang_string_s /* "(Ljava/lang/String;)S" */);
|
|
ids->NBTTagCompound_getShort = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_zc[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->EntityArrow = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_i_in_jni_ids_e[v3 + m].name, str_z_in_jni_ids_a /* "Z" */);
|
|
ids->EntityArrow_inGround = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_rw[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->PotionEffect = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_b_in_jni_ids_r[v3 + m].name, str_i_in_jni_ids_a /* "I" */);
|
|
ids->PotionEffect_duration = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
if (var == 0) goto L_1e410;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bdc[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->NetworkPlayerInfo = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_h_in_jni_ids_a[v3 + m].name, ptr_to_str_h_in_jni_ids_a[v3 + m].sig);
|
|
ids->NetworkPlayerInfo_displayName = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->NetworkPlayerInfo, ptr_to_str_i_in_jni_ids_f[v3 + m].name, ptr_to_str_i_in_jni_ids_f[v3 + m].sig);
|
|
ids->NetworkPlayerInfo_getPlayerTeam = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
L_1e410:
|
|
x = find_class(l->loader, l->env, str_io_netty_util_concurrent_gener /* "io/netty/util/concurrent/GenericFutureListener" */);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GenericFutureListener = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = find_class(l->loader, l->env, ptr_to_str_is[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C16PacketClientStatus = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_15[v3 + m].name, ptr_to_str_a_in_jni_ids_15[v3 + m].sig);
|
|
ids->C16PacketClientStatus_status = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
if (!m) goto L_1e4ed;
|
|
r9 = (const char *)str_lnet_minecraft_network_play_cl_in_jni_ids_a /* "(Lnet/minecraft/network/play/client/C16PacketClientStatus$EnumState;)V" */;
|
|
goto L_1e512;
|
|
L_1e4ed:
|
|
if (var == 0) goto L_1e504;
|
|
r9 = (const char *)str_lig_a_v /* "(Lig$a;)V" */;
|
|
goto L_1e512;
|
|
L_1e504:
|
|
r9 = (const char *)str_lit_v /* "(Lit;)V" */;
|
|
L_1e512:
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)ids->C16PacketClientStatus, str_init_in_jni_ids /* "<init>" */, r9);
|
|
ids->C16PacketClientStatus_init = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_it[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C16PacketClientStatus_EnumState = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
if (!m) goto L_1e58d;
|
|
r9 = (const char *)str_lnet_minecraft_network_play_cl_in_jni_ids /* "Lnet/minecraft/network/play/client/C16PacketClientStatus$EnumState;" */;
|
|
r8 = (const char *)str_open_inventory_achievement /* "OPEN_INVENTORY_ACHIEVEMENT" */;
|
|
goto L_1e5b2;
|
|
L_1e58d:
|
|
if (var == 0) goto L_1e5a4;
|
|
r9 = (const char *)str_lig_a /* "Lig$a;" */;
|
|
r8 = (const char *)str_c_in_jni_ids /* "c" */;
|
|
goto L_1e5b2;
|
|
L_1e5a4:
|
|
r9 = (const char *)str_lit /* "Lit;" */;
|
|
r8 = (const char *)str_c_in_jni_ids /* "c" */;
|
|
L_1e5b2:
|
|
x = (void *)(*l->env)->GetStaticFieldID(l->env, (jclass)x, r8, r9);
|
|
ids->C16PacketClientStatus_EnumState_openInventory = (void *)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_iy[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->c = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, str_init_in_jni_ids /* "<init>" */, jni_signature_i_v /* "(I)V" */);
|
|
ids->c__init_ = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_aap[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->ContainerPlayer = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_16[v3 + m].name, ptr_to_str_a_in_jni_ids_16[v3 + m].sig);
|
|
ids->ContainerPlayer_craftMatrix = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bdw[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GuiScreen = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_17[v3 + m].name, jni_signature_ci_v /* "(CI)V" */);
|
|
ids->GuiScreen_keyTyped = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_bfi[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->GuiChest = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_unreferenced_rodata_in_jni_ids_e[v3 + m].name, ptr_to_unreferenced_rodata_in_jni_ids_e[v3 + m].sig);
|
|
ids->GuiChest_lowerChestInventory = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_rh[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->InventoryBasic = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_19[v3 + m].name, str_ljava_lang_string_in_jni_ids /* "Ljava/lang/String;" */);
|
|
ids->InventoryBasic_Ljava_lang_String_ = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_dd[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->StatCollector = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetStaticMethodID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_20[v3 + m].name, str_ljava_lang_string_ljava_lang_s_in_jni_ids /* "(Ljava/lang/String;)Ljava/lang/String;" */);
|
|
ids->StatCollector_translateToLocal = (jmethodID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_ir[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C01PacketChatMessage = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_21[v3 + m].name, str_ljava_lang_string_in_jni_ids /* "Ljava/lang/String;" */);
|
|
ids->C01PacketChatMessage_Ljava_lang_String_ = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_iq[v3 + mb]);
|
|
if (!x) goto L_1e9d9;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->C14PacketTabComplete = (jclass)x;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->GetFieldID(l->env, (jclass)x, ptr_to_str_a_in_jni_ids_22[v3 + m].name, str_ljava_lang_string_in_jni_ids /* "Ljava/lang/String;" */);
|
|
ids->C14PacketTabComplete_Ljava_lang_String_ = (jfieldID)x;
|
|
if (!x) goto L_1e9d9;
|
|
x = find_class(l->loader, l->env, ptr_to_str_hb[v3 + mb]);
|
|
err = 0x7d4;
|
|
if (!x) goto L_1affe;
|
|
x = (void *)(*l->env)->NewGlobalRef(l->env, (jobject)x);
|
|
ids->S2APacketParticles = (jclass)x;
|
|
err = 0x7d5;
|
|
err = (x) ? 0 : err;
|
|
goto L_1affe;
|
|
L_1e9d9:
|
|
err = 0x7d4;
|
|
goto L_1affe;
|
|
}
|
|
// ---- END generated by tools/lift18b70.py ----
|
|
|
|
// ---- JNI bootstrap: find the game's class loader, detect the mapping, fill the ID table (load_all_jni_ids), and wrap
|
|
// the loader in a SecureClassLoader whose parent is the game loader (used to define the client's own Java classes).
|
|
// Everything runs in a local frame that is popped again. Returns 0 or a client error code (0x7d4: no frame). ----
|
|
struct LoaderRef18 { jobject loader; jmethodID loadClass; };
|
|
FN(int, find_game_class_loader, (LoaderRef18 *out, JNIEnv *env));
|
|
FN(int, fill_jni_ids_local, (JIds *ids, LoaderRef18 *loader, JNIEnv *env)) __asm__("fill_jni_ids");
|
|
FN(int, make_secure_class_loader, (LoaderRef18 *out, JNIEnv *env, jobject loader));
|
|
extern "C" int init_jni_ids(JIds *ids, JNIEnv *env, LoaderRef18 *out) {
|
|
if ((*env)->PushLocalFrame(env, 0x100) < 0) return 0x7d4;
|
|
LoaderRef18 lr;
|
|
int error_code = find_game_class_loader(&lr, env);
|
|
if (error_code) goto done;
|
|
error_code = fill_jni_ids_local(ids, &lr, env);
|
|
if (error_code) goto done;
|
|
{
|
|
JLoad load = {env, (jobject)&lr};
|
|
error_code = load_all_jni_ids(ids, &load);
|
|
}
|
|
if (error_code) goto done;
|
|
__builtin_memcpy((char *)ids + 0x10, &lr, sizeof lr); // ids->gameClassLoader/gameClassLoaderLoadClass: the game loader + its loadClass
|
|
{
|
|
jobject object = (*env)->NewObject(env, ids->SecureClassLoader, ids->SecureClassLoader__init_, lr.loader);
|
|
error_code = object ? make_secure_class_loader(out, env, object) : 0;
|
|
}
|
|
done:
|
|
(*env)->PopLocalFrame(env, 0);
|
|
return error_code;
|
|
}
|