public C_100398_amm func_112300_e(int var1, int var2, int var3) { C_100851_xw var4 = new C_100851_xw(var1, var2, var3); C_100398_amm var5 = (C_100398_amm) this.field_112349_i.get(var4); if (var5 == null) { int var6 = this.func_112312_a(var1, var2, var3); if (var6 <= 0 || !C_100451_alf.field_106118_p[var6].func_106037_u()) { return null; } if (var5 == null) { var5 = ((C_100200_aiq) C_100451_alf.field_106118_p[var6]).func_106326_a(this.field_112338_e); this.field_112338_e.func_109543_a( this.field_112336_g * 16 + var1, var2, this.field_112348_h * 16 + var3, var5); } var5 = (C_100398_amm) this.field_112349_i.get(var4); } if (var5 != null && var5.func_102927_r()) { this.field_112349_i.remove(var4); return null; } else { return var5; } }
public void func_112326_f(int var1, int var2, int var3) { C_100851_xw var4 = new C_100851_xw(var1, var2, var3); if (this.field_112337_d) { C_100398_amm var5 = (C_100398_amm) this.field_112349_i.remove(var4); if (var5 != null) { var5.func_102920_w_(); } } }
public void func_112333_a(int var1, int var2, int var3, C_100398_amm var4) { C_100851_xw var5 = new C_100851_xw(var1, var2, var3); var4.func_102917_b(this.field_112338_e); var4.field_102938_l = this.field_112336_g * 16 + var1; var4.field_102939_m = var2; var4.field_102936_n = this.field_112348_h * 16 + var3; if (this.func_112312_a(var1, var2, var3) != 0 && C_100451_alf.field_106118_p[this.func_112312_a(var1, var2, var3)] instanceof C_100200_aiq) { var4.func_102929_s(); this.field_112349_i.put(var5, var4); } }
public boolean func_112289_b(int var1, int var2, int var3, int var4) { C_101265_zb var5 = this.field_112353_r[var2 >> 4]; if (var5 == null) { return false; } else { int var6 = var5.func_112259_b(var1, var2 & 15, var3); if (var6 == var4) { return false; } else { this.field_112344_l = true; var5.func_112250_b(var1, var2 & 15, var3, var4); int var7 = var5.func_112252_a(var1, var2 & 15, var3); if (var7 > 0 && C_100451_alf.field_106118_p[var7] instanceof C_100200_aiq) { C_100398_amm var8 = this.func_112300_e(var1, var2, var3); if (var8 != null) { var8.func_102931_h(); var8.field_102934_p = var4; } } return true; } } }
public void func_112309_a(byte[] var1, int var2, int var3, boolean var4) { int var5 = 0; int var6; for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if ((var2 & 1 << var6) != 0) { if (this.field_112353_r[var6] == null) { this.field_112353_r[var6] = new C_101265_zb(var6 << 4); } byte[] var7 = this.field_112353_r[var6].func_112254_g(); System.arraycopy(var1, var5, var7, 0, var7.length); var5 += var7.length; } else if (var4 && this.field_112353_r[var6] != null) { this.field_112353_r[var6] = null; } } C_101274_yy var8; for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if ((var2 & 1 << var6) != 0 && this.field_112353_r[var6] != null) { var8 = this.field_112353_r[var6].func_112249_j(); System.arraycopy(var1, var5, var8.field_112360_a, 0, var8.field_112360_a.length); var5 += var8.field_112360_a.length; } } for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if ((var2 & 1 << var6) != 0 && this.field_112353_r[var6] != null) { var8 = this.field_112353_r[var6].func_112262_k(); System.arraycopy(var1, var5, var8.field_112360_a, 0, var8.field_112360_a.length); var5 += var8.field_112360_a.length; } } for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if ((var2 & 1 << var6) != 0 && this.field_112353_r[var6] != null) { var8 = this.field_112353_r[var6].func_112261_l(); System.arraycopy(var1, var5, var8.field_112360_a, 0, var8.field_112360_a.length); var5 += var8.field_112360_a.length; } } for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if ((var3 & 1 << var6) != 0) { if (this.field_112353_r[var6] == null) { var5 += 2048; } else { var8 = this.field_112353_r[var6].func_112269_i(); if (var8 == null) { var8 = this.field_112353_r[var6].func_112267_m(); } System.arraycopy(var1, var5, var8.field_112360_a, 0, var8.field_112360_a.length); var5 += var8.field_112360_a.length; } } else if (var4 && this.field_112353_r[var6] != null && this.field_112353_r[var6].func_112269_i() != null) { this.field_112353_r[var6].func_112270_h(); } } if (var4) { System.arraycopy(var1, var5, this.field_112352_s, 0, this.field_112352_s.length); int var10000 = var5 + this.field_112352_s.length; } for (var6 = 0; var6 < this.field_112353_r.length; ++var6) { if (this.field_112353_r[var6] != null && (var2 & 1 << var6) != 0) { this.field_112353_r[var6].func_112265_e(); } } this.func_112290_a(); Iterator var10 = this.field_112349_i.values().iterator(); while (var10.hasNext()) { C_100398_amm var9 = (C_100398_amm) var10.next(); var9.func_102931_h(); } }
public boolean func_112291_a(int var1, int var2, int var3, int var4, int var5) { int var6 = var3 << 4 | var1; if (var2 >= this.field_112339_b[var6] - 1) { this.field_112339_b[var6] = -999; } int var7 = this.field_112335_f[var6]; int var8 = this.func_112312_a(var1, var2, var3); int var9 = this.func_112327_c(var1, var2, var3); if (var8 == var4 && var9 == var5) { return false; } else { C_101265_zb var10 = this.field_112353_r[var2 >> 4]; boolean var11 = false; if (var10 == null) { if (var4 == 0) { return false; } var10 = this.field_112353_r[var2 >> 4] = new C_101265_zb(var2 >> 4 << 4); var11 = var2 >= var7; } int var12 = this.field_112336_g * 16 + var1; int var13 = this.field_112348_h * 16 + var3; if (var8 != 0 && !this.field_112338_e.field_109557_J) { C_100451_alf.field_106118_p[var8].func_105989_g( this.field_112338_e, var12, var2, var13, var9); } var10.func_112251_a(var1, var2 & 15, var3, var4); if (var8 != 0) { if (!this.field_112338_e.field_109557_J) { C_100451_alf.field_106118_p[var8].func_106041_a( this.field_112338_e, var12, var2, var13, var8, var9); } else if (C_100451_alf.field_106118_p[var8] instanceof C_100200_aiq && var8 != var4) { this.field_112338_e.func_109498_q(var12, var2, var13); } } if (var10.func_112252_a(var1, var2 & 15, var3) != var4) { return false; } else { var10.func_112250_b(var1, var2 & 15, var3, var5); if (var11) { this.func_112305_b(); } else { if (C_100451_alf.field_106116_r[var4 & 4095] > 0) { if (var2 >= var7) { this.func_112316_h(var1, var2 + 1, var3); } } else if (var2 == var7 - 1) { this.func_112316_h(var1, var2, var3); } this.func_112294_e(var1, var3); } C_100398_amm var14; if (var4 != 0) { if (!this.field_112338_e.field_109557_J) { C_100451_alf.field_106118_p[var4].func_106054_g( this.field_112338_e, var12, var2, var13); } if (C_100451_alf.field_106118_p[var4] instanceof C_100200_aiq) { var14 = this.func_112300_e(var1, var2, var3); if (var14 == null) { var14 = ((C_100200_aiq) C_100451_alf.field_106118_p[var4]) .func_106326_a(this.field_112338_e); this.field_112338_e.func_109543_a(var12, var2, var13, var14); } if (var14 != null) { var14.func_102931_h(); } } } else if (var8 > 0 && C_100451_alf.field_106118_p[var8] instanceof C_100200_aiq) { var14 = this.func_112300_e(var1, var2, var3); if (var14 != null) { var14.func_102931_h(); } } this.field_112344_l = true; return true; } } }