首页 » 技术分享 » Andwobble破解

Andwobble破解

 

1. 余额破解

编辑package com.geteit.wobble.downloads.t


  public final int m()
  {
    com.geteit.offers.t localt = d();
    String str = u.a.d();
    int m = l();
    if (localt.b(str) / com.geteit.offers.u.a.c() == System.currentTimeMillis() / com.geteit.offers.u.a.c())
      m = (int)(m - localt.b(new dr().f(str).f("_quota").toString()));
    return m;
  }
}

m为credit

smail文件

    const-string v2, "_quota"

    invoke-virtual {v0, v2}, Lscala/collection/e/dr;->f(Ljava/lang/Object;)Lscala/collection/e/dr;

    move-result-object v0

    invoke-virtual {v0}, Lscala/collection/e/dr;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/geteit/offers/t;->b(Ljava/lang/String;)J

    move-result-wide v0

    sub-long v0, v4, v0

    long-to-int v0, v0

    :cond_0

    const/4 v0, 0x1  //破解处 赋值v0为1

    return v0
.end method

2.增减破解

编辑com\geteit\offers\t
paramInt 为增减的数值,减为1 增加为-1

private int b(int paramInt, Context paramContext)
  {
    ay localay = j();
    localay.a(new af(paramInt, ag.a()));
    int k = scala.f.aa.e(f().j()) - paramInt;
    com.geteit.h.a locala = this.b.e();
    ad localad = this.b.f();
    locala.b(ad.a(localad.k(), localad.l(), localad.m(), localad.n(), k, localad.p(), localad.q()));
    if (paramContext != null)
    {
      if (paramInt < 0)
      {
        int n = R.string.credits_earned;
        Object[] arrayOfObject2 = new Object[1];
        arrayOfObject2[0] = String.valueOf(-paramInt);
        Toast.makeText(paramContext, paramContext.getString(n, arrayOfObject2), 1).show();
      }
    }
    else
      return k;
    int m = R.string.remaining_credits;
    Object[] arrayOfObject1 = new Object[1];
    arrayOfObject1[0] = Integer.valueOf(k).toString();
    Toast.makeText(paramContext, paramContext.getString(m, arrayOfObject1), 1).show();
    return k;
  }
.method private b(ILandroid/content/Context;)I
    .locals 10

    .prologue
    const/4 v9, 0x0

    const/4 v8, 0x1

    const/4 p1, -0x1 //paramInt为p1,给寄存器赋值-1

    .line 173
    invoke-direct {p0}, Lcom/geteit/offers/t;->j()Lcom/geteit/sync/ay;

    move-result-object v0

    new-instance v1, Lcom/geteit/offers/af;

    sget-object v2, Lcom/geteit/offers/ag;->a:Lcom/geteit/offers/ag;

    invoke-static {}, Lcom/geteit/offers/ag;->a()J

    move-result-wide v2

    invoke-direct {v1, p1, v2, v3}, Lcom/geteit/offers/af;-><init>(IJ)V

    invoke-virtual {v0, v1}, Lcom/geteit/sync/ay;->a(Lcom/geteit/sync/SyncTask;)V

    .line 175
    invoke-virtual {p0}, Lcom/geteit/offers/t;->f()Lcom/geteit/h/ak;

    move-result-object v0

    invoke-virtual {v0}, Lcom/geteit/h/ak;->j()Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0}, Lscala/f/aa;->e(Ljava/lang/Object;)I

    move-result v0

    sub-int v4, v0, p1 //v4=v0+p1  判断出p1为paramInt

转载自原文链接, 如需删除请联系管理员。

原文链接:Andwobble破解,转载请注明来源!

1