Skip to content

Instantly share code, notes, and snippets.

@tomocrafter
Last active December 2, 2017 01:16
Show Gist options
  • Save tomocrafter/2fcf4d10c5fe2714a2a57b4b8306a8aa to your computer and use it in GitHub Desktop.
Save tomocrafter/2fcf4d10c5fe2714a2a57b4b8306a8aa to your computer and use it in GitHub Desktop.
だれかc(float a)のとこ助けて
import java.util.*;
import com.google.common.base.*;
import javax.annotation.*;
import com.google.common.collect.*;
public class bne extends bnf
{
private static final mq f;
private static final mq g;
private static final mq h;
private final Random i;
private final bmm j;
private final cem k;
private final bno l;
private int m;
private String n;
private int o;
private boolean p;
public float a;
private int q;
private amb r;
private final bnq s;
private final boh t;
private final boq u;
private final bod v;
private final bnm w;
private int x;
private String y;
private String z;
private int A;
private int B;
private int C;
private int D;
private int E;
private long F;
private long G;
private int H;
private int I;
private final Map<gm, List<bnh>> J;
public bne(final bmm \u2603) {
this.i = new Random();
this.n = "";
this.a = 1.0f;
this.r = amb.a;
this.y = "";
this.z = "";
this.J = (Map<gm, List<bnh>>)Maps.newHashMap();
this.j = \u2603;
this.k = \u2603.W();
this.s = new bnq(\u2603);
this.u = new boq(\u2603);
this.l = new bno(\u2603);
this.v = new bod(\u2603, this);
this.w = new bnm(\u2603);
this.t = new boh(\u2603);
for (final gm gm : gm.values()) {
this.J.put(gm, Lists.newArrayList());
}
final bnh a = bni.a;
((List<bnh>)this.J.get(gm.a)).add(new bnk(\u2603));
((List<bnh>)this.J.get(gm.a)).add(a);
((List<bnh>)this.J.get(gm.b)).add(new bnk(\u2603));
((List<bnh>)this.J.get(gm.b)).add(a);
((List<bnh>)this.J.get(gm.c)).add(new bnj(\u2603));
this.a();
}
public void a() {
this.A = 10;
this.B = 70;
this.C = 20;
}
public void a(final float \u2603) {
this.H = this.j.d.o();
this.I = this.j.d.p();
final bnd i = this.i();
bzk.m();
if (bmm.q()) {
this.d(this.j.g.au());
}
else {
bzk.k();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
}
final amb f = this.j.g.bv.f(3);
if (this.j.s.ax == 0 && f.c() == aly.a(asm.cS)) {
this.p();
}
if (!this.j.g.a(ym.i)) {
final float \u26032 = this.j.g.ca + (this.j.g.bZ - this.j.g.ca) * \u2603;
if (\u26032 > 0.0f) {
this.e(\u26032);
}
}
if (this.j.c.a()) {
this.u.a(\u2603);
}
else {
this.b(\u2603);
}
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
this.j.F().a(bne.d);
bzk.m();
this.c(\u2603);
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
this.j.z.a("bossHealth");
this.w.a();
this.j.z.e();
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
this.j.F().a(bne.d);
if (this.j.c.b()) {
this.n();
}
this.o();
bzk.l();
if (this.j.g.df() > 0) {
this.j.z.a("sleep");
bzk.j();
bzk.d();
final float \u26032 = (float)this.j.g.df();
float n = \u26032 / 100.0f;
if (n > 1.0f) {
n = 1.0f - (\u26032 - 100.0f) / 10.0f;
}
final int a = (int)(220.0f * n) << 24 | 0x101020;
bnf.a(0, 0, this.H, this.I, a);
bzk.e();
bzk.k();
this.j.z.e();
}
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
final int n2 = this.H / 2 - 91;
if (this.j.g.C()) {
this.a(n2);
}
else if (this.j.c.f()) {
this.b(n2);
}
if (this.j.s.F && !this.j.c.a()) {
this.c();
}
else if (this.j.g.u()) {
this.u.a();
}
if (this.j.n()) {
this.d();
}
this.b();
if (this.j.s.ay) {
this.s.a();
}
if (this.o > 0) {
this.j.z.a("overlayMessage");
final float n = this.o - \u2603;
int a = (int)(n * 255.0f / 20.0f);
if (a > 255) {
a = 255;
}
if (a > 8) {
bzk.G();
bzk.c(this.H / 2, this.I - 68, 0.0f);
bzk.m();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
int n3 = 16777215;
if (this.p) {
n3 = (uf.c(n / 50.0f, 0.7f, 0.6f) & 0xFFFFFF);
}
i.a(this.n, -i.a(this.n) / 2, -4, n3 + (a << 24 & 0xFF000000));
bzk.l();
bzk.H();
}
this.j.z.e();
}
this.t.a();
if (this.x > 0) {
this.j.z.a("titleAndSubtitle");
final float n = this.x - \u2603;
int a = 255;
if (this.x > this.C + this.B) {
final float n4 = this.A + this.B + this.C - n;
a = (int)(n4 * 255.0f / this.A);
}
if (this.x <= this.C) {
a = (int)(n * 255.0f / this.C);
}
a = uf.a(a, 0, 255);
if (a > 8) {
bzk.G();
bzk.c(this.H / 2, this.I / 2, 0.0f);
bzk.m();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
bzk.G();
bzk.b(4.0f, 4.0f, 4.0f);
final int n3 = a << 24 & 0xFF000000;
i.a(this.y, -i.a(this.y) / 2, -10.0f, 0xFFFFFF | n3, true);
bzk.H();
bzk.G();
bzk.b(2.0f, 2.0f, 2.0f);
i.a(this.z, -i.a(this.z) / 2, 5.0f, 0xFFFFFF | n3, true);
bzk.H();
bzk.l();
bzk.H();
}
this.j.z.e();
}
final blw ag = this.j.e.ag();
bls a2 = null;
final blt j = ag.i(this.j.g.C_());
if (j != null) {
final int b = j.n().b();
if (b >= 0) {
a2 = ag.a(3 + b);
}
}
bls a3 = (a2 != null) ? a2 : ag.a(1);
if (a3 != null) {
this.a(a3);
}
bzk.m();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
bzk.d();
bzk.G();
bzk.c(0.0f, this.I - 48, 0.0f);
this.j.z.a("chat");
this.l.a(this.m);
this.j.z.e();
bzk.H();
a3 = ag.a(0);
if (this.j.s.ai.e() && (!this.j.w() || this.j.g.d.g().size() > 1 || a3 != null)) {
this.v.a(true);
this.v.a(this.H, ag, a3);
}
else {
this.v.a(false);
}
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
bzk.g();
bzk.e();
}
//HEREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
private void c(final float \u2603) {
final bmp s = this.j.s;
if (s.ax != 0) {
return;
}
if (this.j.c.a() && this.j.h == null) {
final bkw r = this.j.r;
if (r == null || r.a != bkw.a.b) {
return;
}
final ds a = r.a();
if (!this.j.e.p(a).v().j() || !(this.j.e.s(a) instanceof xf)) {
return;
}
}
if (s.ay && !s.aw && !this.j.g.dq() && !s.x) {
bzk.G();
bzk.c(this.H / 2, this.I / 2, this.e);
final yr t = this.j.T();
bzk.b(t.y + (t.w - t.y) * \u2603, -1.0f, 0.0f, 0.0f);
bzk.b(t.x + (t.v - t.x) * \u2603, 0.0f, 1.0f, 0.0f);
bzk.b(-1.0f, -1.0f, -1.0f);
cmj.m(10);
bzk.H();
}
else {
bzk.a(bzk.r.i, bzk.l.k, bzk.r.e, bzk.l.n);
bzk.e();
final int n = 15;
this.a(this.H / 2.0f - 7.5f, this.I / 2.0f - 7.5f, 0, 0, 15, 15);
if (this.j.s.N == 1) {
final float p = this.j.g.p(0.0f);
boolean b = false;
if (this.j.h != null && this.j.h instanceof za && p >= 1.0f) {
b = (this.j.g.dt() > 5.0f);
b &= ((za)this.j.h).aA();
}
final int \u26032 = this.I / 2 - 7 + 16;
final int \u26033 = this.H / 2 - 8;
if (b) {
this.b(\u26033, \u26032, 68, 94, 16, 16);
}
else if (p < 1.0f) {
final int \u26034 = (int)(p * 17.0f);
this.b(\u26033, \u26032, 36, 94, 16, 4);
this.b(\u26033, \u26032, 52, 94, \u26034, 4);
}
}
}
}
protected void b() {
final Collection<yl> cc = this.j.g.cc();
if (cc.isEmpty()) {
return;
}
this.j.F().a(brb.a);
bzk.m();
int n = 0;
int n2 = 0;
for (final yl yl : Ordering.natural().reverse().sortedCopy((Iterable)cc)) {
final yk a = yl.a();
if (a.d() && yl.e()) {
int h = this.H;
int n3 = 1;
if (this.j.n()) {
n3 += 15;
}
final int e = a.e();
if (a.j()) {
++n;
h -= 25 * n;
}
else {
++n2;
h -= 25 * n2;
n3 += 26;
}
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
float \u2603 = 1.0f;
if (yl.d()) {
this.b(h, n3, 165, 166, 24, 24);
}
else {
this.b(h, n3, 141, 166, 24, 24);
if (yl.b() <= 200) {
final int n4 = 10 - yl.b() / 20;
\u2603 = uf.a(yl.b() / 10.0f / 5.0f * 0.5f, 0.0f, 0.5f) + uf.b(yl.b() * 3.1415927f / 5.0f) * uf.a(n4 / 10.0f * 0.25f, 0.0f, 0.25f);
}
}
bzk.c(1.0f, 1.0f, 1.0f, \u2603);
final int n4 = e % 8;
final int n5 = e / 8;
this.b(h + 3, n3 + 3, n4 * 18, 198 + n5 * 18, 18, 18);
}
}
}
protected void b(final float \u2603) {
if (!(this.j.T() instanceof aho)) {
return;
}
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
this.j.F().a(bne.g);
final aho \u26032 = (aho)this.j.T();
final amb cr = \u26032.cr();
final yz a = \u26032.cH().a();
final int n = this.H / 2;
final float e = this.e;
final int n2 = 182;
final int n3 = 91;
this.e = -90.0f;
this.b(n - 91, this.I - 22, 0, 0, 182, 22);
this.b(n - 91 - 1 + \u26032.bv.d * 20, this.I - 22 - 1, 0, 22, 24, 22);
if (!cr.b()) {
if (a == yz.a) {
this.b(n - 91 - 29, this.I - 23, 24, 22, 29, 24);
}
else {
this.b(n + 91, this.I - 23, 53, 22, 29, 24);
}
}
this.e = e;
bzk.D();
bzk.m();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
bmk.c();
for (int i = 0; i < 9; ++i) {
final int n4 = n - 90 + i * 20 + 2;
final int \u26033 = this.I - 16 - 3;
this.a(n4, \u26033, \u2603, \u26032, \u26032.bv.a.get(i));
}
if (!cr.b()) {
final int i = this.I - 16 - 3;
if (a == yz.a) {
this.a(n - 91 - 26, i, \u2603, \u26032, cr);
}
else {
this.a(n + 91 + 10, i, \u2603, \u26032, cr);
}
}
if (this.j.s.N == 2) {
final float p = this.j.g.p(0.0f);
if (p < 1.0f) {
final int n4 = this.I - 20;
int \u26033 = n + 91 + 6;
if (a == yz.b) {
\u26033 = n - 91 - 22;
}
this.j.F().a(bnf.d);
final int \u26034 = (int)(p * 19.0f);
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
this.b(\u26033, n4, 0, 94, 18, 18);
this.b(\u26033, n4 + 18 - \u26034, 18, 112 - \u26034, 18, \u26034);
}
}
bmk.a();
bzk.E();
bzk.l();
}
public void a(final int \u2603) {
this.j.z.a("jumpBar");
this.j.F().a(bnf.d);
final float d = this.j.g.D();
final int n = 182;
final int \u26032 = (int)(d * 183.0f);
final int n2 = this.I - 32 + 3;
this.b(\u2603, n2, 0, 84, 182, 5);
if (\u26032 > 0) {
this.b(\u2603, n2, 0, 89, \u26032, 5);
}
this.j.z.e();
}
public void b(final int \u2603) {
this.j.z.a("expBar");
this.j.F().a(bnf.d);
final int dj = this.j.g.dj();
if (dj > 0) {
final int n = 182;
final int n2 = (int)(this.j.g.bR * 183.0f);
final int \u26032 = this.I - 32 + 3;
this.b(\u2603, \u26032, 0, 64, 182, 5);
if (n2 > 0) {
this.b(\u2603, \u26032, 0, 69, n2, 5);
}
}
this.j.z.e();
if (this.j.g.bP > 0) {
this.j.z.a("expLevel");
final String string = "" + this.j.g.bP;
final int n2 = (this.H - this.i().a(string)) / 2;
final int \u26032 = this.I - 31 - 4;
this.i().a(string, n2 + 1, \u26032, 0);
this.i().a(string, n2 - 1, \u26032, 0);
this.i().a(string, n2, \u26032 + 1, 0);
this.i().a(string, n2, \u26032 - 1, 0);
this.i().a(string, n2, \u26032, 8453920);
this.j.z.e();
}
}
public void c() {
this.j.z.a("selectedItemName");
if (this.q > 0 && !this.r.b()) {
String s = this.r.q();
if (this.r.s()) {
s = a.u + s;
}
final int n = (this.H - this.i().a(s)) / 2;
int n2 = this.I - 59;
if (!this.j.c.b()) {
n2 += 14;
}
int n3 = (int)(this.q * 256.0f / 10.0f);
if (n3 > 255) {
n3 = 255;
}
if (n3 > 0) {
bzk.G();
bzk.m();
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
this.i().a(s, n, (float)n2, 16777215 + (n3 << 24));
bzk.l();
bzk.H();
}
}
this.j.z.e();
}
public void d() {
this.j.z.a("demo");
String s;
if (this.j.e.S() >= 120500L) {
s = cjf.a("demo.demoExpired", new Object[0]);
}
else {
s = cjf.a("demo.remainingTime", uk.a((int)(120500L - this.j.e.S())));
}
final int a = this.i().a(s);
this.i().a(s, this.H - a - 10, 5.0f, 16777215);
this.j.z.e();
}
private void a(final bls \u2603) {
final blw a = \u2603.a();
Collection<blu> collection = a.h(\u2603);
final List<blu> arrayList = (List<blu>)Lists.newArrayList(Iterables.filter((Iterable)collection, (Predicate)new Predicate<blu>() {
public boolean a(@Nullable final blu \u2603) {
return \u2603.e() != null && !\u2603.e().startsWith("#");
}
}));
if (arrayList.size() > 15) {
collection = (Collection<blu>)Lists.newArrayList(Iterables.skip((Iterable)arrayList, collection.size() - 15));
}
else {
collection = arrayList;
}
int n = this.i().a(\u2603.d());
for (final blu blu : collection) {
final blt i = a.i(blu.e());
final String string = blt.a((bly)i, blu.e()) + ": " + a.m + blu.b();
n = Math.max(n, this.i().a(string));
}
final int n2 = collection.size() * this.i().a;
final int n3 = this.I / 2 + n2 / 3;
final int n4 = 3;
final int n5 = this.H - n - 3;
int n6 = 0;
for (final blu blu2 : collection) {
++n6;
final blt j = a.i(blu2.e());
final String a2 = blt.a(j, blu2.e());
final String string2 = a.m + "" + blu2.b();
final int \u26032 = n5;
final int n7 = n3 - n6 * this.i().a;
final int \u26033 = this.H - 3 + 2;
bnf.a(\u26032 - 2, n7, \u26033, n7 + this.i().a, 1342177280);
this.i().a(a2, \u26032, n7, 553648127);
this.i().a(string2, \u26033 - this.i().a(string2), n7, 553648127);
if (n6 == collection.size()) {
final String d = \u2603.d();
bnf.a(\u26032 - 2, n7 - this.i().a - 1, \u26033, n7 - 1, 1610612736);
bnf.a(\u26032 - 2, n7 - 1, \u26033, n7, 1342177280);
this.i().a(d, \u26032 + n / 2 - this.i().a(d) / 2, n7 - this.i().a, 553648127);
}
}
}
private void n() {
if (!(this.j.T() instanceof aho)) {
return;
}
final aho aho = (aho)this.j.T();
final int f = uf.f(aho.cf());
final boolean b = this.G > this.m && (this.G - this.m) / 3L % 2L == 1L;
if (f < this.D && aho.V > 0) {
this.F = bmm.B();
this.G = this.m + 20;
}
else if (f > this.D && aho.V > 0) {
this.F = bmm.B();
this.G = this.m + 10;
}
if (bmm.B() - this.F > 1000L) {
this.D = f;
this.E = f;
this.F = bmm.B();
}
this.D = f;
final int e = this.E;
this.i.setSeed(this.m * 312871);
final aja dk = aho.dk();
final int a = dk.a();
final zo a2 = aho.a(ags.a);
final int n = this.H / 2 - 91;
final int n2 = this.H / 2 + 91;
final int n3 = this.I - 39;
final float n4 = (float)a2.e();
final int f2 = uf.f(aho.cF());
final int f3 = uf.f((n4 + f2) / 2.0f / 10.0f);
final int max = Math.max(10 - (f3 - 2), 3);
final int \u2603 = n3 - (f3 - 1) * max - 10;
final int n5 = n3 - 10;
int n6 = f2;
final int ci = aho.ci();
int n7 = -1;
if (aho.a(ym.j)) {
n7 = this.m % uf.f(n4 + 5.0f);
}
this.j.z.a("armor");
for (int i = 0; i < 10; ++i) {
if (ci > 0) {
final int j = n + i * 8;
if (i * 2 + 1 < ci) {
this.b(j, \u2603, 34, 9, 9, 9);
}
if (i * 2 + 1 == ci) {
this.b(j, \u2603, 25, 9, 9, 9);
}
if (i * 2 + 1 > ci) {
this.b(j, \u2603, 16, 9, 9, 9);
}
}
}
this.j.z.c("health");
for (int i = uf.f((n4 + f2) / 2.0f) - 1; i >= 0; --i) {
int j = 16;
if (aho.a(ym.s)) {
j += 36;
}
else if (aho.a(ym.t)) {
j += 72;
}
int f4 = 0;
if (b) {
f4 = 1;
}
final int n8 = uf.f((float)(i + 1) / 10.0f) - 1;
final int k = n + i % 10 * 8;
int n9 = n3 - n8 * max;
if (f <= 4) {
n9 += this.i.nextInt(2);
}
if (n6 <= 0 && i == n7) {
n9 -= 2;
}
int n10 = 0;
if (aho.l.W().s()) {
n10 = 5;
}
this.b(k, n9, 16 + f4 * 9, 9 * n10, 9, 9);
if (b) {
if (i * 2 + 1 < e) {
this.b(k, n9, j + 54, 9 * n10, 9, 9);
}
if (i * 2 + 1 == e) {
this.b(k, n9, j + 63, 9 * n10, 9, 9);
}
}
if (n6 > 0) {
if (n6 == f2 && f2 % 2 == 1) {
this.b(k, n9, j + 153, 9 * n10, 9, 9);
--n6;
}
else {
this.b(k, n9, j + 144, 9 * n10, 9, 9);
n6 -= 2;
}
}
else {
if (i * 2 + 1 < f) {
this.b(k, n9, j + 36, 9 * n10, 9, 9);
}
if (i * 2 + 1 == f) {
this.b(k, n9, j + 45, 9 * n10, 9, 9);
}
}
}
final yr bk = aho.bK();
if (bk == null || !(bk instanceof za)) {
this.j.z.c("food");
for (int j = 0; j < 10; ++j) {
int f4 = n3;
int n8 = 16;
int k = 0;
if (aho.a(ym.q)) {
n8 += 36;
k = 13;
}
if (aho.dk().e() <= 0.0f && this.m % (a * 3 + 1) == 0) {
f4 += this.i.nextInt(3) - 1;
}
final int n9 = n2 - j * 8 - 9;
this.b(n9, f4, 16 + k * 9, 27, 9, 9);
if (j * 2 + 1 < a) {
this.b(n9, f4, n8 + 36, 27, 9, 9);
}
if (j * 2 + 1 == a) {
this.b(n9, f4, n8 + 45, 27, 9, 9);
}
}
}
this.j.z.c("air");
if (aho.a(bgv.h)) {
final int j = this.j.g.aX();
for (int f4 = uf.f((j - 2) * 10.0 / 300.0), n8 = uf.f(j * 10.0 / 300.0) - f4, k = 0; k < f4 + n8; ++k) {
if (k < f4) {
this.b(n2 - k * 8 - 9, n5, 16, 18, 9, 9);
}
else {
this.b(n2 - k * 8 - 9, n5, 25, 18, 9, 9);
}
}
}
this.j.z.e();
}
private void o() {
if (!(this.j.T() instanceof aho)) {
return;
}
final aho aho = (aho)this.j.T();
final yr bk = aho.bK();
if (bk instanceof za) {
this.j.z.c("mountHealth");
final za za = (za)bk;
final int n = (int)Math.ceil(za.cf());
final float cl = za.cl();
int i = (int)(cl + 0.5f) / 2;
if (i > 30) {
i = 30;
}
final int n2 = this.I - 39;
final int n3 = this.H / 2 + 91;
int \u2603 = n2;
int n4 = 0;
final boolean b = false;
while (i > 0) {
final int min = Math.min(i, 10);
i -= min;
for (int j = 0; j < min; ++j) {
final int n5 = 52;
final int n6 = 0;
final int \u26032 = n3 - j * 8 - 9;
this.b(\u26032, \u2603, 52 + n6 * 9, 9, 9, 9);
if (j * 2 + 1 + n4 < n) {
this.b(\u26032, \u2603, 88, 9, 9, 9);
}
if (j * 2 + 1 + n4 == n) {
this.b(\u26032, \u2603, 97, 9, 9, 9);
}
}
\u2603 -= 10;
n4 += 20;
}
}
}
private void p() {
bzk.j();
bzk.a(false);
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
bzk.d();
this.j.F().a(bne.h);
final bzu a = bzu.a();
final bzc c = a.c();
c.a(7, cir.g);
c.b(0.0, this.I, -90.0).a(0.0, 1.0).d();
c.b(this.H, this.I, -90.0).a(1.0, 1.0).d();
c.b(this.H, 0.0, -90.0).a(1.0, 0.0).d();
c.b(0.0, 0.0, -90.0).a(0.0, 0.0).d();
a.b();
bzk.a(true);
bzk.k();
bzk.e();
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
}
private void d(float \u2603) {
\u2603 = 1.0f - \u2603;
\u2603 = uf.a(\u2603, 0.0f, 1.0f);
final bbj am = this.j.e.am();
float n = (float)am.a(this.j.g);
final double min = Math.min(am.o() * am.p() * 1000.0, Math.abs(am.j() - am.h()));
final double max = Math.max(am.q(), min);
if (n < max) {
n = 1.0f - (float)(n / max);
}
else {
n = 0.0f;
}
this.a += (\u2603 - this.a) * 0.01;
bzk.j();
bzk.a(false);
bzk.a(bzk.r.o, bzk.l.k, bzk.r.e, bzk.l.n);
if (n > 0.0f) {
bzk.c(0.0f, n, n, 1.0f);
}
else {
bzk.c(this.a, this.a, this.a, 1.0f);
}
this.j.F().a(bne.f);
final bzu a = bzu.a();
final bzc c = a.c();
c.a(7, cir.g);
c.b(0.0, this.I, -90.0).a(0.0, 1.0).d();
c.b(this.H, this.I, -90.0).a(1.0, 1.0).d();
c.b(this.H, 0.0, -90.0).a(1.0, 0.0).d();
c.b(0.0, 0.0, -90.0).a(0.0, 0.0).d();
a.b();
bzk.a(true);
bzk.k();
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
}
private void e(float \u2603) {
if (\u2603 < 1.0f) {
\u2603 *= \u2603;
\u2603 *= \u2603;
\u2603 = \u2603 * 0.8f + 0.2f;
}
bzk.d();
bzk.j();
bzk.a(false);
bzk.a(bzk.r.l, bzk.l.j, bzk.r.e, bzk.l.n);
bzk.c(1.0f, 1.0f, 1.0f, \u2603);
this.j.F().a(cii.f);
final cij a = this.j.U().a().a(asm.cR.t());
final float i = a.i();
final float k = a.k();
final float j = a.j();
final float l = a.l();
final bzu a2 = bzu.a();
final bzc c = a2.c();
c.a(7, cir.g);
c.b(0.0, this.I, -90.0).a(i, l).d();
c.b(this.H, this.I, -90.0).a(j, l).d();
c.b(this.H, 0.0, -90.0).a(j, k).d();
c.b(0.0, 0.0, -90.0).a(i, k).d();
a2.b();
bzk.a(true);
bzk.k();
bzk.e();
bzk.c(1.0f, 1.0f, 1.0f, 1.0f);
}
private void a(final int \u2603, final int \u2603, final float \u2603, final aho \u2603, final amb \u2603) {
if (\u2603.b()) {
return;
}
final float n = \u2603.B() - \u2603;
if (n > 0.0f) {
bzk.G();
final float n2 = 1.0f + n / 5.0f;
bzk.c(\u2603 + 8, \u2603 + 12, 0.0f);
bzk.b(1.0f / n2, (n2 + 1.0f) / 2.0f, 1.0f);
bzk.c(-(\u2603 + 8), -(\u2603 + 12), 0.0f);
}
this.k.a(\u2603, \u2603, \u2603, \u2603);
if (n > 0.0f) {
bzk.H();
}
this.k.a(this.j.j, \u2603, \u2603, \u2603);
}
public void f() {
if (this.o > 0) {
--this.o;
}
if (this.x > 0) {
--this.x;
if (this.x <= 0) {
this.y = "";
this.z = "";
}
}
++this.m;
if (this.j.g != null) {
final amb i = this.j.g.bv.i();
if (i.b()) {
this.q = 0;
}
else if (this.r.b() || i.c() != this.r.c() || !amb.a(i, this.r) || (!i.f() && i.h() != this.r.h())) {
this.q = 40;
}
else if (this.q > 0) {
--this.q;
}
this.r = i;
}
}
public void a(final String \u2603) {
this.a(cjf.a("record.nowPlaying", \u2603), true);
}
public void a(final String \u2603, final boolean \u2603) {
this.n = \u2603;
this.o = 60;
this.p = \u2603;
}
public void a(final String \u2603, final String \u2603, final int \u2603, final int \u2603, final int \u2603) {
if (\u2603 == null && \u2603 == null && \u2603 < 0 && \u2603 < 0 && \u2603 < 0) {
this.y = "";
this.z = "";
this.x = 0;
return;
}
if (\u2603 != null) {
this.y = \u2603;
this.x = this.A + this.B + this.C;
return;
}
if (\u2603 != null) {
this.z = \u2603;
return;
}
if (\u2603 >= 0) {
this.A = \u2603;
}
if (\u2603 >= 0) {
this.B = \u2603;
}
if (\u2603 >= 0) {
this.C = \u2603;
}
if (this.x > 0) {
this.x = this.A + this.B + this.C;
}
}
public void a(final go \u2603, final boolean \u2603) {
this.a(\u2603.c(), \u2603);
}
public void a(final gm \u2603, final go \u2603) {
for (final bnh bnh : (List<bnh>)this.J.get(\u2603)) {
bnh.a(\u2603, \u2603);
}
}
public bno g() {
return this.l;
}
public int h() {
return this.m;
}
public bnd i() {
return this.j.j;
}
public boq j() {
return this.u;
}
public bod k() {
return this.v;
}
public void l() {
this.v.a();
this.w.b();
this.j.ah().b();
}
public bnm m() {
return this.w;
}
static {
f = new mq("textures/misc/vignette.png");
g = new mq("textures/gui/widgets.png");
h = new mq("textures/misc/pumpkinblur.png");
}
}
@tomocrafter
Copy link
Author

変数名バグってるのはユニコードで編集名が書かれてる(難読化されてる)から。

@tomocrafter
Copy link
Author

エンコード切った。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment