Skip to content

Commit

Permalink
Deobfuscate Parameters class
Browse files Browse the repository at this point in the history
  • Loading branch information
StenAL committed May 18, 2024
1 parent 3064727 commit e77d7f7
Show file tree
Hide file tree
Showing 3 changed files with 249 additions and 239 deletions.
8 changes: 4 additions & 4 deletions client/src/main/java/agolf/GameApplet.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ public class GameApplet extends AApplet {
private boolean verbose = false;


public void initApplet(Parameters var1) {
public void initApplet(Parameters parameters) {
this.syncIsValidSite = new SynchronizedBool(this.isValidSite());
this.setBackground(colourGameBackground);
this.setForeground(colourTextBlack);
this.gameContainer = new GameContainer(this, var1);
this.gameContainer = new GameContainer(this, parameters);
this.aBoolean3773 = false;
}

public void textsLoadedNotify(TextManager var1) {
this.gameContainer.textManager = var1;
public void textsLoadedNotify(TextManager textManager) {
this.gameContainer.textManager = textManager;
}

public void defineSounds(SoundManager soundManager) {
Expand Down
12 changes: 4 additions & 8 deletions client/src/main/java/com/aapeli/client/Class88.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package com.aapeli.client;

import com.aapeli.client.Frame_Sub3_Sub3;
import com.aapeli.client.ImageManager;
import com.aapeli.client.Parameters;
import com.aapeli.client.TextManager;
import com.aapeli.colorgui.ColorButton;

import java.awt.Color;
Expand All @@ -29,7 +25,7 @@ protected Class88(Parameters var1, TextManager var2, ImageManager var3) {
this.aParameters1500 = var1;
this.aTextManager1501 = var2;
this.anImageManager1502 = var3;
this.anInt1506 = var1.method1655() ? 1 : 2;
this.anInt1506 = var1.getTellFriend() ? 1 : 2;
this.anInt1507 = 0;

try {
Expand All @@ -40,8 +36,8 @@ protected Class88(Parameters var1, TextManager var2, ImageManager var3) {
this.anInt1506 = 0;
}

this.aString1504 = var1.method1656();
this.aString1505 = var1.method1657();
this.aString1504 = var1.getTellFriendPage();
this.aString1505 = var1.getTellFriendTarget();
if (this.aString1504 == null || this.aString1505 == null) {
this.anInt1506 = 0;
}
Expand Down Expand Up @@ -132,7 +128,7 @@ protected boolean method1702(String[] var1, String var2, int var3, int var4, int

var10 = var10 + "hash=" + var9;
URL var14 = new URL(this.aString1504 + "?" + var10);
this.aParameters1500.method1654().showDocument(var14, this.aString1505);
this.aParameters1500.getAppletContext().showDocument(var14, this.aString1505);
return true;
} catch (Exception var12) {
;
Expand Down
Loading

0 comments on commit e77d7f7

Please sign in to comment.